Sha256: 048cf4432cf79118336620f214c9600324268ba8a6b6e69c800fd680d6f5dd4c

Contents?: true

Size: 539 Bytes

Versions: 9

Compression:

Stored size: 539 Bytes

Contents

# This requires a patch to Ext examples/ux/grid
class BookGridWithExtraFilters < Netzke::Basepack::GridPanel
  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 default_config
    super.merge(
      :model => "Book",
      :columns => [{:name => :title, :filter => {:type => :ene}}, :exemplars, :digitized, :notes]
    )
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
netzke-basepack-0.7.7 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-zh-0.7.6 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.7.6 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.7.5 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.7.4 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.7.3 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.7.2 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.7.1 test/basepack_test_app/app/components/book_grid_with_extra_filters.rb
netzke-basepack-0.7.0 test/rails_app/app/components/book_grid_with_extra_filters.rb