Class: YummyGuide::Administrate::CollectionHelper::CollectionTableDefinition

Inherits:
Struct
  • Object
show all
Defined in:
app/helpers/yummy_guide/administrate/collection_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actions_column_idObject

Returns the value of attribute actions_column_id

Returns:

  • (Object)

    the current value of 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_idsObject

Returns the value of attribute column_ids

Returns:

  • (Object)

    the current value of column_ids



22
23
24
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22

def column_ids
  @column_ids
end

#column_namesObject

Returns the value of attribute column_names

Returns:

  • (Object)

    the current value of column_names



22
23
24
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22

def column_names
  @column_names
end

#fixed_columns_countObject

Returns the value of attribute fixed_columns_count

Returns:

  • (Object)

    the current value of 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_columnsObject

Returns the value of attribute grid_template_columns

Returns:

  • (Object)

    the current value of 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_countObject

Returns the value of attribute mobile_fixed_columns_count

Returns:

  • (Object)

    the current value of 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_columnsObject

Returns the value of attribute sticky_columns

Returns:

  • (Object)

    the current value of sticky_columns



22
23
24
# File 'app/helpers/yummy_guide/administrate/collection_helper.rb', line 22

def sticky_columns
  @sticky_columns
end

#table_styleObject

Returns the value of attribute table_style

Returns:

  • (Object)

    the current value of 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