Groups
Sign in
Groups
Netzke
Conversations
About
Send feedback
Help
Custom Form for Grid
38 views
Skip to first unread message
Jorge Segura
unread,
Oct 10, 2013, 11:51:59 AM
10/10/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to net...@googlegroups.com
Hi everybody.
There is a way to set up a custom form for a Grid when defining a component?
like this?
component :vans do |c|
#this is a Netzke:Basepack::Grid
c.klass = Vehicles::Vehicle
c.title = "Vans"
#this line does not work
c.form_config.klass = Vehicles::VanForm
end
I know that this is the standard way:
def preconfigure_record_window(c)
super
c.form_config.klass = Vehicles::VanForm
end
Best regards!
Reply all
Reply to author
Forward
0 new messages