loadcomplete problem

Questionsloadcomplete problem
aytac asked 3 years ago
$opt["loadComplete"] = "function(){ rightclickevent(); }";

 loadComplete doesn't work myfunction. Actually; 
When I open the grid, sometimes it does not call the function and gives an error and the loading text does not go.
2 Answers
aytac answered 3 years ago

Uncaught ReferenceError: rightclickevent is not defined       (error in console)

Abu Ghufran Staff answered 3 years ago

Hello,

By error console message, it’s clear that this function is not defined in global scope to be called from any place.

Move this function to global scope and it should work. The loadComplete seems to work.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

13 + 11 =

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?