Class: Datagrid::Base
- Inherits:
-
Object
- Object
- Datagrid::Base
- Includes:
- ActiveModel, ColumnNamesAttribute, Columns, Core, Filters, Ordering
- Defined in:
- lib/datagrid/base.rb
Overview
Main datagrid class allowing to define columns and filters on your objects
Method Summary
Methods included from Ordering
Methods included from ColumnNamesAttribute
#mandatory_columns, #optional_columns
Methods included from Columns
#available_columns, #batch_size, #batch_size=, #column, #column_by_name, #columns, #data, #data_columns, #data_hash, #data_row, #data_value, #decorate, #default_column_options, #default_column_options=, #format, #hash_for, #header, #html_columns, #html_value, #row_for, #rows, #to_csv
Methods included from Filters
#filter_by, #filter_by_name, #filter_value, #filter_value_as_string, #filters, #select_all, #select_options, #select_values
Methods included from ActiveModel
#param_key, #param_name, #persisted?, #to_key, #to_model, #to_param
Methods included from Core
#==, #[], #[]=, #as_query, #assets, #attributes, #initialize, #inspect, #query_params, #redefined_scope?, #reset, #reset_scope, #scope