NAME
Embperl::Form::Control::grid - A grid control inside an Embperl Form
SYNOPSIS
DESCRIPTION
Used to create a grid control inside an Embperl Form. See Embperl::Form on how to specify parameters.
PARAMETER
type
Needs to be 'grid'
fields
Array ref with field definitions
header_bottom
If grid has more rows as given in this parameter, a header line is also displayed at the bottom of the grid. Default is 10. Set to -1 to always get a header at the bottom.
Example
{
name
=>
'provider-path'
,
text
=>
'Suchpfad'
,
type
=>
'grid'
,
fields
=>
[
{
name
=>
'active'
,
text
=>
'Aktiv'
,
type
=>
'checkbox'
,
width
=>
'30'
},
{
name
=>
'path'
,
text
=>
'Pfad'
},
],
},
Author
G. Richter (richter at embperl dot org)
See Also
perl(1), Embperl, Embperl::Form