Module: Datagrid
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/datagrid/filters/base_filter.rb,
lib/datagrid.rb,
lib/datagrid/base.rb,
lib/datagrid/core.rb,
lib/datagrid/utils.rb,
lib/datagrid/engine.rb,
lib/datagrid/helper.rb,
lib/datagrid/columns.rb,
lib/datagrid/drivers.rb,
lib/datagrid/filters.rb,
lib/datagrid/version.rb,
lib/datagrid/ordering.rb,
lib/datagrid/active_model.rb,
lib/datagrid/form_builder.rb,
lib/datagrid/configuration.rb,
lib/datagrid/drivers/array.rb,
lib/datagrid/columns/column.rb,
lib/datagrid/drivers/sequel.rb,
lib/datagrid/drivers/mongoid.rb,
lib/datagrid/generators/views.rb,
lib/datagrid/deprecated_object.rb,
lib/datagrid/filters/base_filter.rb,
lib/datagrid/filters/date_filter.rb,
lib/datagrid/filters/enum_filter.rb,
lib/datagrid/generators/scaffold.rb,
lib/datagrid/drivers/mongo_mapper.rb,
lib/datagrid/filters/float_filter.rb,
lib/datagrid/drivers/active_record.rb,
lib/datagrid/filters/ranged_filter.rb,
lib/datagrid/filters/string_filter.rb,
lib/datagrid/column_names_attribute.rb,
lib/datagrid/filters/boolean_filter.rb,
lib/datagrid/filters/default_filter.rb,
lib/datagrid/filters/dynamic_filter.rb,
lib/datagrid/filters/integer_filter.rb,
lib/datagrid/filters/select_options.rb,
lib/datagrid/drivers/abstract_driver.rb,
lib/datagrid/filters/date_time_filter.rb,
lib/datagrid/filters/extended_boolean_filter.rb
Overview
An error raise when datagrid filter is defined incorrectly and causes filtering chain to be broken
Defined Under Namespace
Modules: ActiveModel, ColumnNamesAttribute, Columns, Core, Filters, FormBuilder, Helper, Ordering Classes: ArgumentError, Base, ColumnUnavailableError, Configuration, ConfigurationError, FilteringError, OrderUnsupported
Constant Summary collapse
- VERSION =
"2.0.0"
Class Method Summary collapse
-
.configuration ⇒ Configuration
Current Datagrid configuration.
-
.configure {|configuration| ... } ⇒ void
Configure datagrid.
Class Method Details
.configuration ⇒ Configuration
Returns current Datagrid configuration.
5 6 7 |
# File 'lib/datagrid/configuration.rb', line 5 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ void
This method returns an undefined value.
Returns configure datagrid.
14 15 16 |
# File 'lib/datagrid/configuration.rb', line 14 def self.configure(&block) block.call(configuration) end |