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.
-
#adjusted_column_indexes ⇒ Object
Returns the value of attribute adjusted_column_indexes.
-
#colgroup_widths ⇒ Object
Returns the value of attribute colgroup_widths.
-
#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 |
#adjusted_column_indexes ⇒ Object
Returns the value of attribute adjusted_column_indexes
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def adjusted_column_indexes @adjusted_column_indexes end |
#colgroup_widths ⇒ Object
Returns the value of attribute colgroup_widths
22 23 24 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22 def colgroup_widths @colgroup_widths 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
39 40 41 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 39 def column_id(column_name) column_ids[column_name.to_sym] end |
#sticky_column(column_name) ⇒ Object
35 36 37 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 35 def sticky_column(column_name) sticky_columns[column_name.to_sym] || {} end |