HTML::FormFu::ExtJS::Element::_Field
version 0.090
record returns a HashRef with contains all informations to create a record field from this field element.
record
$class->record( $element );
You can override the default values by passing an extra hashref.
$class->record( $element, { mapping => 'myname', type => 'mytype' } );
column_model returns a HashRef with contains all informations to create an entry for a column model from this field element.
column_model
$class->column_model( $element );
All attributes that were given to the element configuration are added to the column model:
- type: Text attrs: width: 150
You can override the defaults by passing a hashref:
$class->column_model( $element, { dataIndex => 'myIndex' } );
Moritz Onken <onken@netcubed.de>
This software is Copyright (c) 2011 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License
To install HTML::FormFu::ExtJS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FormFu::ExtJS
CPAN shell
perl -MCPAN -e shell install HTML::FormFu::ExtJS
For more information on module installation, please visit the detailed CPAN module installation guide.