mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-21 02:21:37 -04:00
Experimenting with Netzke/ ExtJS
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class Users < Netzke::Basepack::Grid
|
||||
def configure(c)
|
||||
super
|
||||
c.model = "User"
|
||||
|
||||
c.columns = [
|
||||
:first_name,
|
||||
:last_name,
|
||||
:nickname,
|
||||
:email
|
||||
]
|
||||
end
|
||||
|
||||
#override with nil to remove actions
|
||||
def default_bbar
|
||||
[ :apply, :add_in_form ]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user