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


Embperl documentation  | view source Contained in the Embperl distribution.

Index


NAME

Top

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

SYNOPSIS

Top

DESCRIPTION

Top

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. Should look like any normal field definition.

The following extra attributes are available:

col

Column number inside the @data array, which should be used for this cell

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

Top

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

See Also

Top

perl(1), Embperl, Embperl::Form


Embperl documentation  | view source Contained in the Embperl distribution.