| HTML-FormFu-ExtJS documentation | view source | Contained in the HTML-FormFu-ExtJS distribution. |
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.
$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.
$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
| HTML-FormFu-ExtJS documentation | view source | Contained in the HTML-FormFu-ExtJS distribution. |