Sha256: 3a3f1b80d82c23d13caef1b916a68639a8bbee76b608ed6fe794c3162172eb42

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 Bytes

Contents

# This requires a patch to Ext examples/ux/grid
# NOTE: not used!
class BookGridWithExtraFilters < Netzke::Basepack::Grid
  model "Book"

  js_include Netzke::Core.ext_path.join("examples", "ux/grid/filter/EneFilter.js")
  js_include Netzke::Core.ext_path.join("examples", "ux/grid/menu/EneMenu.js")

  Netzke::Core.external_ext_css << "#{Netzke::Core.ext_uri}/examples/ux/grid/css/EneMenu"

  def configure(c)
    super
    c.columns = [{:name => :title, :filter => {:type => :ene}}, :exemplars, :digitized, :notes]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
netzke-basepack-0.8.4 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.8.3 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.8.2 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.8.1 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.8.0 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb