Documentation ¶
Index ¶
- Constants
- func NewDefaultPanel(ctx context.Context, parent page.ControlI)
- func NewForms1Panel(ctx context.Context, parent page.ControlI)
- func NewForms2Panel(ctx context.Context, parent page.ControlI)
- func NewModalPanel(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 Forms2Panel
- type ModalPanel
- type SelectListPanel
- type TableMapData
- type TablePanel
- func (f *TablePanel) BindData(ctx context.Context, s control.DataManagerI)
- func (f *TablePanel) CellText(ctx context.Context, col table.ColumnI, info table.CellInfo) string
- func (ctrl *TablePanel) DrawTemplate(ctx context.Context, _w io.Writer) (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 RadioChange )
View Source
const (
PopupClick int = iota + 10
)
Variables ¶
This section is empty.
Functions ¶
func NewForms2Panel ¶ added in v0.13.8
func NewSelectListPanel ¶ added in v0.2.0
Types ¶
type Forms1Panel ¶
func (*Forms1Panel) DoAction ¶ added in v0.23.0
func (p *Forms1Panel) DoAction(ctx context.Context, a action.Params)
func (*Forms1Panel) DrawTemplate ¶
type Forms2Panel ¶ added in v0.13.8
func (*Forms2Panel) DrawTemplate ¶ added in v0.13.8
type ModalPanel ¶ added in v0.18.0
type SelectListPanel ¶ added in v0.2.0
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
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
Click to show internal directories.
Click to hide internal directories.