21301 Posts in 5736 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 219 Views |
-
onAfterwrite on GridField?

14 July 2012 at 8:33am
Hi all,
digging into GridField, I'm wondering if there is a way to perform actions like page-reload when a relation is written using GridField and the GridFieldConfig_RelationEditor (so handleAction is called with action 'addto' for instance).
I know onAfterWrite() is triggered upon saving a form generated with getCMSFields(), but this GridField is a form generated within getCMSFields and may save relations before clicking the 'general' save button.
Friendly regards,
Maurice -
Re: onAfterwrite on GridField?

12 September 2012 at 7:44pm
Hi,
although I did not yet solve this, you might try things using jQuery/entwinte as I think you need some technique of those to be able to 'dynamically' add or remove classes from the gridfield. I didn't have the need for it anymore at this point, but if I work it out in the future, I sure let you know.
Friendly regards,
Maurice
| 219 Views | ||
|
Page:
1
|
Go to Top |

