NAME

HTML::FormFu::ExtJS::Element::Multi

VERSION

version 0.077

DESCRIPTION

This element creates a row of elements specified in elements. There are many ways to influence the layout of this element:

width

- type: Multi
  label: Multi element
  attrs:
    width: 100

Specifies the width of each column

individualWidth

- type: Multi
  label: Multi element
  attrs:
    individualWidth: [100, 200]
  elements:
    - type: Text
      label: 1st
    - type: Text
      label: 2nd

Sets the individual width of the items in pixels.

individualColumnWidth

- type: Multi
  label: Multi element
  attrs:
    individualWidth: [.2, .3]
  elements:
    - type: Text
      label: 1st
    - type: Text
      label: 2nd

Specifies the relative width of the columns.

Each attribute specified in attrs gets passed to each column. This way you can change e.g. the label separator and label width:

- type: Multi
  label: Appointment
  attrs:
    defaults:
      width: 50
    width: 150
    labelWidth: 35
    layoutConfig:
      labelSeparator:  .:.
  elements:
    - type: Text
      name: r11
      label: Date
    - type: Text
      name: r2
      label: Time
    - type: Checkbox
      label: st

NAME

HTML::FormFu::ExtJS::Element::Multi - Multi column

SEE ALSO

HTML::FormFu::Element::Multi

COPYRIGHT & LICENSE

Copyright 2008 Moritz Onken, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Moritz Onken <onken@netcubed.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2010 by Moritz Onken.

This is free software, licensed under:

The (three-clause) BSD License