I have an action on a Custom LeftAndMain that updates the data using a plain SQL query. How do I force the Panel to reload after the action is complete
LeftAndMain::ForceReload;
return;
just gives me a Javascript error.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I have an action on a Custom LeftAndMain that updates the data using a plain SQL query. How do I force the Panel to reload after the action is complete
LeftAndMain::ForceReload;
return;
just gives me a Javascript error.
did you try
LeftAndMain::ForceReload();
as method not as property ?
Yes, I've tried calling it as a method before the return on the action and as the return of the action.
I'd really like to find more documentation on it