mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
12 years ago
1 changed files with 0 additions and 24 deletions
@ -1,24 +0,0 @@ |
|||||
class Bikes < Netzke::Basepack::Grid |
|
||||
def configure(c) |
|
||||
super |
|
||||
c.model = "Bike" |
|
||||
=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 ] |
|
||||
end |
|
||||
end |
|
Loading…
Reference in new issue