Class: YummyGuide::Administrate::CollectionHelper::CollectionTableDefinition
- Inherits:
-
Struct
- Object
- Struct
- YummyGuide::Administrate::CollectionHelper::CollectionTableDefinition
- Defined in:
- app/helpers/yummy_guide/administrate/collection_helper.rb
Instance Attribute Summary collapse
-
#actions_column_id ⇒ Object
Returns the value of attribute actions_column_id.
-
#column_ids ⇒ Object
Returns the value of attribute column_ids.
-
#column_names ⇒ Object
Returns the value of attribute column_names.
-
#fixed_columns_count ⇒ Object
Returns the value of attribute fixed_columns_count.
-
#grid_template_columns ⇒ Object
Returns the value of attribute grid_template_columns.
-
#mobile_fixed_columns_count ⇒ Object
Returns the value of attribute mobile_fixed_columns_count.
-
#sticky_columns ⇒ Object
Returns the value of attribute sticky_columns.
-
#table_style ⇒ Object
Returns the value of attribute table_style.
Instance Method Summary collapse
Instance Attribute Details
#actions_column_id ⇒ Object
Returns the value of attribute actions_column_id
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def actions_column_id @actions_column_id end |
#column_ids ⇒ Object
Returns the value of attribute column_ids
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def column_ids @column_ids end |
#column_names ⇒ Object
Returns the value of attribute column_names
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def column_names @column_names end |
#fixed_columns_count ⇒ Object
Returns the value of attribute fixed_columns_count
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def fixed_columns_count @fixed_columns_count end |
#grid_template_columns ⇒ Object
Returns the value of attribute grid_template_columns
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def grid_template_columns @grid_template_columns end |
#mobile_fixed_columns_count ⇒ Object
Returns the value of attribute mobile_fixed_columns_count
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def mobile_fixed_columns_count @mobile_fixed_columns_count end |
#sticky_columns ⇒ Object
Returns the value of attribute sticky_columns
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def sticky_columns @sticky_columns end |
#table_style ⇒ Object
Returns the value of attribute table_style
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def table_style @table_style end |
Instance Method Details
#column_id(column_name) ⇒ Object
37 38 39 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 37 def column_id(column_name) column_ids[column_name.to_sym] end |
#sticky_column(column_name) ⇒ Object
33 34 35 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 33 def sticky_column(column_name) sticky_columns[column_name.to_sym] || {} end |