On Domingo, 23 de Agosto de 2009 17:36:29 tailormade escribió:
> I need to call a javascript method after an item has been picked from
> the list. Is it possible to add an onComplete method to the column
> item or do I have to alter the partial?
>
Try adding setting :on_complete in column options:
config.columns[:column_name].options = {:on_complete => 'javascript_code'}
>
--
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
-~----------~----~----~----~------~----~------~--~---