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
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def actions_column_id @actions_column_id end |
#adjusted_column_indexes ⇒ Object
Returns the value of attribute adjusted_column_indexes
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def adjusted_column_indexes @adjusted_column_indexes end |
#colgroup_widths ⇒ Object
Returns the value of attribute colgroup_widths
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def colgroup_widths @colgroup_widths end |
#column_ids ⇒ Object
Returns the value of attribute column_ids
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def column_ids @column_ids end |
#column_names ⇒ Object
Returns the value of attribute column_names
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def column_names @column_names end |
#fixed_columns_count ⇒ Object
Returns the value of attribute fixed_columns_count
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def fixed_columns_count @fixed_columns_count end |
#grid_template_columns ⇒ Object
Returns the value of attribute grid_template_columns
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def grid_template_columns @grid_template_columns end |
#mobile_fixed_columns_count ⇒ Object
Returns the value of attribute mobile_fixed_columns_count
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def mobile_fixed_columns_count @mobile_fixed_columns_count end |
#sticky_columns ⇒ Object
Returns the value of attribute sticky_columns
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def sticky_columns @sticky_columns end |
#table_style ⇒ Object
Returns the value of attribute table_style
23 24 25 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 23 def table_style @table_style end |
Instance Method Details
#column_id(column_name) ⇒ Object
40 41 42 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 40 def column_id(column_name) column_ids[column_name.to_sym] end |
#sticky_column(column_name) ⇒ Object
36 37 38 |
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 36 def sticky_column(column_name) sticky_columns[column_name.to_sym] || {} end |