Class: ExtCheckcolumn

Inherits:
ExtNode show all
Includes:
Magic::Column
Defined in:
lib/extclasses/checkcolumn.rb

Constant Summary collapse

@@ALIAS_CONFIG =
{
  :text => :header,
  :name => :dataIndex
}

Instance Attribute Summary

Attributes inherited from ExtNode

#childs, #config, #deep_lvl, #default_config, #parent, #xtype

Instance Method Summary collapse

Methods included from Magic::Column

included

Methods inherited from ExtNode

#add_child, #apply_config, before_to_extjs, #build_abstract_function, #child_of?, #child_of_form?, #collect_events, #collect_ref, #conv_id_to_label, #conv_id_to_name, #conv_id_to_ref, #do_alias_config, #do_layout, #find, #find_field_elements, #find_parent, #get_all_siblings, get_before_filters, #get_deep, get_events, get_refs, #has_child?, #is_field_element?, #override_config, #prepare_config, #remove_childs, #remove_config, reset_generator_config, #root?, set_generator_config, #set_parent, #to_extjs

Constructor Details

#initialize(config, parent) ⇒ ExtCheckcolumn

Returns a new instance of ExtCheckcolumn.



9
10
11
12
13
14
15
# File 'lib/extclasses/checkcolumn.rb', line 9

def initialize(config, parent)
  @default_config = {
    :align => "right", 
    :sortable => true
  }
  super "checkcolumn", config, parent
end