Sha256: 81e506aaab9884784bdf0fdeccb2246987a8b745c933f3bee1fd67d87f9b5a38

Contents?: true

Size: 499 Bytes

Versions: 4

Compression:

Stored size: 499 Bytes

Contents

module Phlexi
  module Table
    module Components
      class ColumnGroup < Base
        include Phlexi::Table::Components::Options::Labels
        include Phlexi::Table::Components::Concerns::DisplaysHeader
        include Phlexi::Table::Components::Concerns::GroupsColumns

        def colspan
          @columns.size
        end

        def dom_id
          "#{super}_header_grouping_cell"
        end

        def type = "column_group"

        def alignment = nil
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phlexi-table-0.0.5 lib/phlexi/table/components/column_group.rb
phlexi-table-0.0.4 lib/phlexi/table/components/column_group.rb
phlexi-table-0.0.3 lib/phlexi/table/components/column_group.rb
phlexi-table-0.0.2 lib/phlexi/table/components/column_group.rb