Sha256: 914277b0135a6f688fa8804e787492be51edd82119ed0de1d1540914e2337492

Contents?: true

Size: 370 Bytes

Versions: 60

Compression:

Stored size: 370 Bytes

Contents

module UiBibz::Ui::Ux::Tables
  class Columns

    def initialize columns = nil
      @columns = columns || []
    end

    # Add column in table
    def column data_index = nil, options = nil, html_options = nil, &block
      @columns << Column.new(data_index, options, html_options, &block)
    end

    # Get all columns
    def list
      @columns
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
ui_bibz-2.4.0 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.15 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.14 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.13 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.12 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.11 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.10 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.9 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.8 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.7 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.6 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.5 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.4 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.3 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.2 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.1 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.3.0 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.2.2 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.2.1 lib/ui_bibz/ui/ux/tables/components/columns.rb
ui_bibz-2.2.0 lib/ui_bibz/ui/ux/tables/components/columns.rb