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)
- func NewTabsPanel(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(self any, ctx context.Context, parent page.ControlI, id string)
- type TableSliceData
- type TabsPanel
Constants ¶
const ( AjaxSubmit int = iota + 1 PostSubmit ButtonSubmit RadioChange )
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 DefaultPanel ¶
type DefaultPanel struct {
Panel
}
func (*DefaultPanel) DrawTemplate ¶
DrawTemplate draws the content of the matching control's template file.
type Forms1Panel ¶
func (*Forms1Panel) DoAction ¶ added in v0.23.0
func (p *Forms1Panel) DoAction(ctx context.Context, a action.Params)
func (*Forms1Panel) DrawTemplate ¶
DrawTemplate draws the content of the matching control's template file.
type Forms2Panel ¶ added in v0.13.8
func (*Forms2Panel) DrawTemplate ¶ added in v0.13.8
DrawTemplate draws the content of the matching control's template file.
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
DrawTemplate draws the content of the matching control's template file.
type TableSliceData ¶ added in v0.2.0
type TableSliceData []string
type TabsPanel ¶ added in v0.31.2
func (*TabsPanel) DrawTemplate ¶ added in v0.31.2
DrawTemplate draws the content of the matching control's template file.