No matter what I do, I cannot get the js_on_load_complete event to triggr.
For example:
$e["js_on_load_complete"] = "grid_onload";
$grid_pr->set_events($e);
points to this function:
function grid_onload()
{
alert('hello');
}
But the alert never triggers. Any ideas?
Hello,
I guess, this is version limitation. You can have this function in full version.
Please check demos/editing/custom-events.php demo.
It shows working demo in using onload event.
If it does not resolve, email me complete code for review.
You can either email me at [email protected] or use pastebin.com
I am aware of the custom-events.php demo, I have implemented most of them and they work as expected, with the exception of js_on_load_complete.
I have emailed you the code (the callback function is located in mainfull.php line 208, and the JS event setup is located in setup_tables_erga.php, line 59).