Sha256: 04c84ae94347b700f8696263258af42b42cb6aa04946ca3abef4aeb9915a3f10
Contents?: true
Size: 537 Bytes
Versions: 84
Compression:
Stored size: 537 Bytes
Contents
class Marty::PostingWindow < Netzke::Window::Base def configure(c) super c.title = I18n.t('select_posting') c.modal = true c.items = [:posting_grid] c.lazy_loading = true c.width = 400 c.height = 350 end component :posting_grid do |c| c.klass = Marty::PostingGrid c.rows_per_page = 12 c.permissions = { update: false, delete: true, # hijacked for selection create: false, } # c.bbar = [] end end PostingWindow = Marty::PostingWindow
Version data entries
84 entries across 84 versions & 1 rubygems