lib/ui_bibz/ui/ux/tables/table.rb in ui_bibz-2.5.6 vs lib/ui_bibz/ui/ux/tables/table.rb in ui_bibz-3.0.0.alpha2

- old
+ new

@@ -5,11 +5,10 @@ require 'ui_bibz/ui/ux/tables/components/column' require 'ui_bibz/ui/ux/tables/components/actions' require 'ui_bibz/ui/ux/tables/components/thead' require 'ui_bibz/ui/ux/tables/components/as' require 'ui_bibz/ui/ux/tables/extensions/paginable' -require 'ui_bibz/ui/ux/tables/extensions/paginable' require 'ui_bibz/ui/ux/tables/extensions/searchable' require 'ui_bibz/ui/ux/tables/extensions/sortable' require 'ui_bibz/ui/ux/tables/extensions/actionable' module UiBibz::Ui::Ux::Tables # Create a Table @@ -26,11 +25,10 @@ # # You can add HTML attributes using the +html_options+. # You can pass arguments in options attribute: # * +store+ - Store generate by '+table_search_pagination+' method # * +url+ - String - # * +tap+ - Boolean # * +actionable+ - Boolean # * +sortable+ - Boolean # * +searchable+ - Boolean # * +default_actions+ - Boolean # * +status+ @@ -48,11 +46,11 @@ # # ==== Signatures # # UiBibz::Ui::Ux::Tables::Table.new(store: @store) # - # UiBibz::Ui::Ux::Tables::Table.new(store: @store, tap: true) do |t| + # UiBibz::Ui::Ux::Tables::Table.new(store: @store) do |t| # t.columns do |c| # c.column :id, name: '#' # end # t.actions do |a| # a.link '', url: url, glyph: '' @@ -79,10 +77,10 @@ # # ==== Helper # # table(options = {}, html_options = {}) # - # table(options = { tap: true }, html_options = {}) do |t| + # table(options = {}, html_options = {}) do |t| # t.columns do |cls| # cls.column(name, options = {}, html_options = {}) # cls.column(options = {}, html_options = {}) do # name # end