Class: DataGrid::DataSourceArray
- Inherits:
-
Object
- Object
- DataGrid::DataSourceArray
- Defined in:
- lib/data_grid/data_source_array.rb
Instance Attribute Summary collapse
-
#data_grid ⇒ Object
Returns the value of attribute data_grid.
Instance Method Summary collapse
-
#prepare_data ⇒ Object
Main function which prepares data.
Instance Attribute Details
#data_grid ⇒ Object
Returns the value of attribute data_grid.
6 7 8 |
# File 'lib/data_grid/data_source_array.rb', line 6 def data_grid @data_grid end |
Instance Method Details
#prepare_data ⇒ Object
Main function which prepares data
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/data_grid/data_source_array.rb', line 9 def prepare_data initial_data_eval initial_sorting if self.data_grid.sorting? filter global_summary_array pagination summary_array self.data_grid.row_styler prepare_data_for_filters end |