How to complete reload grid

QuestionsHow to complete reload grid
Davor Budimir asked 11 years ago

Hello Abu,

How to on the event "on_after_insert" to perform a complete reload grid (to fill the combo box to the new values)?

Regards,
Davor

1 Answers
Abu Ghufran answered 11 years ago

This is not supported as base feature, however you can get help from this article.

http://geekswithblogs.net/renso/archive/2009/07/02/jqgrid-dynamically-loading-select-options.aspx

You can connect all code in grid loadcomplete event using

$e["js_on_load_complete"] = "do_onload";
$grid->set_events($e);

<script>
function do_onload()
{
// your ajax code to load data and fill select
}
</script>

Your Answer

7 + 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?