Velocipede's User, Sales, and Bike Inventory Web App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
497 B

class BikeBrands < Netzke::Basepack::Grid
def configure(c)
super
c.model = "BikeBrand"
=begin
c.columns = [
:done,
:name,
{name: :notes, flex: 1},
:priority,
{name: :due, header: "Due on"}
]
=end
#c.enable_context_menu = false
#c.context_menu = false
#c.enable_edit_in_form = false
#c.scope = {done: [nil, false]}
end
#override with nil to remove actions
def default_bbar
[ :apply, :add_in_form, :search ]
end
end