Sha256: 51361f938267c4f276ced5c2075fcac24a032f5bb680199ecc9751fd3eb6808d

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

class DoubleBookGrid < Netzke::Base
  js_configure do |c|
    c.layout = :border
  end

  def configure(c)
    super
    c.items = [:first_grid, :second_grid]
  end

  component :first_grid do |c|
    c.klass = Netzke::Basepack::Grid
    c.region = :center
    c.model = "Book"
  end

  component :second_grid do |c|
    c.klass = Netzke::Basepack::Grid
    c.region = :south
    c.height = 200
    c.model = "Book"
  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/double_book_grid.rb
netzke-basepack-0.8.3 test/basepack_test_app/app/components/double_book_grid.rb
netzke-basepack-0.8.2 test/basepack_test_app/app/components/double_book_grid.rb
netzke-basepack-0.8.1 test/basepack_test_app/app/components/double_book_grid.rb
netzke-basepack-0.8.0 test/basepack_test_app/app/components/double_book_grid.rb