js_on_load_complete event

Questionsjs_on_load_complete event
Antonis Kosmopoulos asked 9 years ago

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?

6 Answers
Abu Ghufran answered 9 years ago

Hello,

I guess, this is version limitation. You can have this function in full version.

Compare Versions

Antonis Kosmopoulos answered 9 years ago

We are using the premium version, that's why I am baffled.

Abu Ghufran answered 9 years ago

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

Abu Ghufran answered 9 years ago

Also email me the order number, so that i add this email in customer list.

Antonis Kosmopoulos answered 9 years ago

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).

Abu Ghufran answered 9 years ago

Replied on email.

Your Answer

0 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?