Class: ExtPaging

Inherits:
ExtNode show all
Defined in:
lib/extclasses/paging.rb

Instance Attribute Summary

Attributes inherited from ExtNode

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

Instance Method Summary collapse

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) ⇒ ExtPaging

Returns a new instance of ExtPaging.



2
3
4
5
6
7
8
9
10
11
# File 'lib/extclasses/paging.rb', line 2

def initialize(config, parent)
  @default_config = {
    start: 0,
    limit: 20,
    displayInfo: true,
    dock: "bottom",
    displayMsg: "Displaying {0} - {1} of {2}"
  }
  super('pagingtoolbar', config, parent)
end