Module: MightyGrid
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/mighty_grid.rb,
lib/mighty_grid/base.rb,
lib/mighty_grid/column.rb,
lib/mighty_grid/engine.rb,
lib/mighty_grid/filters.rb,
lib/mighty_grid/version.rb,
lib/mighty_grid/map_type.rb,
lib/mighty_grid/exceptions.rb,
lib/mighty_grid/parameters.rb,
lib/mighty_grid/filters/base.rb,
lib/mighty_grid/grid_renderer.rb,
lib/mighty_grid/filter_renderer.rb,
lib/mighty_grid/mighty_grid_ext.rb,
lib/mighty_grid/filters/enum_filter.rb,
lib/mighty_grid/filters/text_filter.rb,
lib/mighty_grid/helpers/view_helpers.rb,
lib/mighty_grid/filters/custom_filter.rb,
lib/mighty_grid/filters/search_filter.rb,
lib/mighty_grid/filters/string_filter.rb,
lib/mighty_grid/filters/boolean_filter.rb,
lib/generators/mighty_grid/install_generator.rb
Defined Under Namespace
Modules: Exceptions, Filters, Generators, MapType, MgHTML, MgHash, Parameters, VERSION, ViewHelpers
Classes: Base, Column, Engine, FilterRenderer, GridRenderer
Constant Summary
collapse
- @@configured =
false
- @@grid_name =
'grid'
- @@per_page =
15
- @@order_direction =
'asc'
- @@order_type =
'single'
- @@order_asc =
'↑'
- @@order_desc =
'↓'
- @@order_asc_link_class =
''
- @@order_desc_link_class =
''
- @@order_active_link_class =
'mg-order-active'
- @@order_wrapper_class =
''
- @@table_class =
''
''
'mighty_grid'
Class Method Summary
collapse
Class Method Details
18
19
20
|
# File 'lib/mighty_grid.rb', line 18
def self.configured? @@configured
end
|
.gem_version ⇒ Object
2
3
4
|
# File 'lib/mighty_grid/version.rb', line 2
def self.gem_version
Gem::Version.new VERSION::STRING
end
|
.setup {|_self| ... } ⇒ Object
61
62
63
64
|
# File 'lib/mighty_grid.rb', line 61
def self.setup
@@configured = true
yield self
end
|