Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Functions = map[string]jet.Func{ "thumb": Thumb, }
View Source
var WorkingDir = gpath.WorkingDir()
Functions ¶
Types ¶
type ActionType ¶
type ActionType string
const ( RESET ActionType = "reset" SEARCH ActionType = "search" PAGESIZE ActionType = "pagesize" ORDER ActionType = "order" )
type Column ¶
type Column struct { Type ColumnType Title string Width int Resize bool Order bool Name string Alias string Select string Options []html.KeyValue InputBuilder func(r *evo.Request) html.Renderable Attribs html.Attributes QueryBuilder func(r *evo.Request) []string SimpleFilter string Processor func(column Column, data map[string]interface{}, r *evo.Request) string Model interface{} }
type ColumnType ¶
type ColumnType int
const ( TEXT ColumnType = 0 NUMBER ColumnType = 1 DATE ColumnType = 2 HTML ColumnType = 3 RANGE ColumnType = 4 SELECT ColumnType = 5 CUSTOM ColumnType = 6 ACTIONS ColumnType = 7 None ColumnType = 8 )
type CustomizedViews ¶
type CustomizedViews interface {
DataTable()
}
type FilterView ¶
type FilterView struct { Style string Columns []Column Model interface{} Join []Join Attribs html.Attributes Unscoped bool QueryBuilder func(r *evo.Request) []string Pagination Pagination // contains filtered or unexported fields }
func (FilterView) GetData ¶
func (fv FilterView) GetData() []map[string]interface{}
func (*FilterView) Prepare ¶
func (fv *FilterView) Prepare(r *evo.Request)
Click to show internal directories.
Click to hide internal directories.