How disable a column which form_ui is 'select' when I edit a record using activescaffold 3.1.20

35 views
Skip to first unread message

sunnet

unread,
Mar 3, 2012, 3:23:23 AM3/3/12
to ActiveScaffold : Ruby on Rails plugin
hi, everyone!

How disable a column which form_ui is 'select' when I edit a
record using activescaffold 3.1.20 ?
Thanks a lot!

clyfe

unread,
Mar 5, 2012, 11:04:50 AM3/5/12
to actives...@googlegroups.com
Try:
conf.update.columns[:name].options = {:html_options => {:disabled => true}}

sunnet

unread,
Mar 7, 2012, 7:18:23 AM3/7/12
to ActiveScaffold : Ruby on Rails plugin
Thank you very much for your help !
Reply all
Reply to author
Forward
0 new messages