Documentation ¶
Index ¶
- Constants
- func NewDefaultPanel(ctx context.Context, parent page.ControlI)
- func NewForms1Panel(ctx context.Context, parent page.ControlI)
- func NewSelectListPanel(ctx context.Context, parent page.ControlI)
- func NewTablePanel(ctx context.Context, parent page.ControlI)
- type DefaultPanel
- type Forms1Panel
- type SelectListPanel
- type TableMapData
- type TablePanel
- func (f *TablePanel) BindData(ctx context.Context, s control.DataManagerI)
- func (f *TablePanel) CellText(ctx context.Context, col control.ColumnI, rowNum int, colNum int, ...) string
- func (ctrl *TablePanel) DrawTemplate(ctx context.Context, buf *bytes.Buffer) (err error)
- func (f *TablePanel) Init(ctx context.Context, parent page.ControlI, id string)
- type TableSliceData
Constants ¶
View Source
const ( AjaxSubmit int = iota + 1 ServerSubmit ButtonSubmit )
Variables ¶
This section is empty.
Functions ¶
func NewSelectListPanel ¶ added in v0.2.0
Types ¶
type Forms1Panel ¶
func (*Forms1Panel) DrawTemplate ¶
type SelectListPanel ¶ added in v0.2.0
func (*SelectListPanel) Action ¶ added in v0.2.0
func (p *SelectListPanel) Action(ctx context.Context, a page.ActionParams)
type TableMapData ¶ added in v0.2.0
func (TableMapData) Get ¶ added in v0.2.0
func (m TableMapData) Get(i string) string
Make the TableMapData satisfy the Getter interface so it can be used in a Getter column.
type TablePanel ¶ added in v0.2.0
func (*TablePanel) BindData ¶ added in v0.2.0
func (f *TablePanel) BindData(ctx context.Context, s control.DataManagerI)
BindData satisfies the data provider interface so that the parent panel of the table is the one that is providing the table.
func (*TablePanel) CellText ¶ added in v0.2.0
func (f *TablePanel) CellText(ctx context.Context, col control.ColumnI, rowNum int, colNum int, data interface{}) string
CellText here satisfies the CellTexter interface so that the panel can provide the text for a cell.
func (*TablePanel) DrawTemplate ¶ added in v0.2.0
type TableSliceData ¶ added in v0.2.0
type TableSliceData []string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.