
Embperl::Form::Control::grid - A grid control inside an Embperl Form


Used to create a grid control inside an Embperl Form. See Embperl::Form on how to specify parameters.
Needs to be 'grid'
Array ref with field definitions. Should look like any normal field definition.
The following extra attributes are available:
Column number inside the @data array, which should be used for this cell
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.
{
name => 'provider-path',
text => 'Suchpfad',
type => 'grid',
fields =>
[
{ name => 'active', text => 'Aktiv', type => 'checkbox', width => '30' },
{ name => 'path', text => 'Pfad' },
],
},

G. Richter (richter@dev.ecos.de)

perl(1), Embperl, Embperl::Form