On Jueves, 17 de Septiembre de 2009 15:26:43 EBIHARA, Yuichiro escribió:
> Now, I also want to apply inplace_edit for the column. I installed
> in_place_editing plugin and added the following line to my controller.
>
>     config.columns[:status].inplace_edit = true
>
> When I click a value of the column, a text box appears while I hope a
> select list.
> Can anybody give me a hint?

There is no support for in place editing select lists in ActiveScaffold, only 
for checkboxes and text fields. You must build it by yourself with a field 
override (although you can use the update_column action in the controller to 
save the value using AJAX).

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to