Class: Phlexi::Table::Components::ColumnGroup
Instance Attribute Summary
Attributes inherited from Base
#key, #options, #parent
Instance Method Summary
collapse
#column, #initialize
#header_cell, #header_cell_attributes
#label
Methods inherited from Base
#initialize
Instance Method Details
#alignment ⇒ Object
19
|
# File 'lib/phlexi/table/components/column_group.rb', line 19
def alignment = nil
|
#colspan ⇒ Object
9
10
11
|
# File 'lib/phlexi/table/components/column_group.rb', line 9
def colspan
@columns.size
end
|
#dom_id ⇒ Object
13
14
15
|
# File 'lib/phlexi/table/components/column_group.rb', line 13
def dom_id
"#{super}_header_grouping_cell"
end
|
#type ⇒ Object
17
|
# File 'lib/phlexi/table/components/column_group.rb', line 17
def type = "column_group"
|