Class: HtmlGrid::FormList
- Includes:
- FormMethods
- Defined in:
- lib/htmlgrid/formlist.rb
Constant Summary collapse
- DEFAULT_CLASS =
Value
- EVENT =
:new_item
Constants included from FormMethods
HtmlGrid::FormMethods::ACCEPT_CHARSET, HtmlGrid::FormMethods::AUTOFILL, HtmlGrid::FormMethods::FORM_ACTION, HtmlGrid::FormMethods::FORM_METHOD, HtmlGrid::FormMethods::FORM_NAME, HtmlGrid::FormMethods::TAG_METHOD
Constants inherited from List
List::BACKGROUND_ROW, List::BACKGROUND_SUFFIX, List::CSS_HEAD_MAP, List::DEFAULT_HEAD_CLASS, List::EMPTY_LIST, List::EMPTY_LIST_KEY, List::OFFSET_STEP, List::OMIT_HEADER, List::OMIT_HEAD_TAG, List::SORT_DEFAULT, List::SORT_HEADER, List::SORT_REVERSE, List::STRIPED_BG
Constants inherited from Composite
Composite::COLSPAN_MAP, Composite::COMPONENT_CSS_MAP, Composite::CSS_MAP, Composite::VERTICAL
Constants inherited from AbstractComposite
AbstractComposite::CSS_CLASS, AbstractComposite::CSS_ID, AbstractComposite::CSS_ID_MAP, AbstractComposite::CSS_MAP, AbstractComposite::CSS_STYLE_MAP, AbstractComposite::LABELS, AbstractComposite::LEGACY_INTERFACE, AbstractComposite::LOOKANDFEEL_MAP, AbstractComposite::SYMBOL_MAP
Constants inherited from Component
Component::CSS_CLASS, Component::CSS_ID, Component::HTML_ATTRIBUTES, Component::HTTP_HEADERS, Component::LABEL
Instance Attribute Summary
Attributes inherited from Component
#attributes, #dojo_tooltip, #label, #model, #value
Instance Method Summary collapse
Methods included from FormMethods
#autofill?, #event, #formname, #onsubmit=, #to_html
Methods inherited from List
#compose, #compose_empty_list, #compose_header, #compose_list, #css_head_map, #fill_row
Methods inherited from Composite
#compose, #compose_colspan, #event, #full_colspan, #insert_row, #to_html
Methods inherited from AbstractComposite
Methods inherited from Component
#_to_html, #autofill?, #css_class, #css_class=, #css_id, #css_id=, #dojo_dynamic_html, #dojo_parse_on_load, #dojo_tag, #dojo_title=, #dynamic_html, #escape, #escape_symbols, #formname, #http_headers, #initialize, #label?, #onclick=, #onload=, #onsubmit=, #set_attribute, #tabindex=, #to_html
Constructor Details
This class inherits a constructor from HtmlGrid::Component
Instance Method Details
#compose_footer(matrix) ⇒ Object
37 38 39 40 |
# File 'lib/htmlgrid/formlist.rb', line 37 def (matrix) @grid.add(submit, *matrix) @grid.set_colspan(*matrix) end |