Call javascript function on datagrid Load

QuestionsCall javascript function on datagrid Load
Ajith asked 9 years ago

How to call a javascript function on datagrid ready event.?

1 Answers
Abu Ghufran answered 9 years ago

$opt["loadComplete"] = "function(ids) { alert(ids); }";
$grid->set_options($opt);

Refer demos/editing/custom-events.php for demo.

Your Answer

9 + 7 =

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?