Re-load jqgrid data based on the asp combobox selection

Total Post:154

Points:1086
 3462  View(s)
Ratings:
Rate this:

Is it possible to reload jqgrid onchange of asp combobox?

Am trying to get dropdown list change like this :

  $("#txtGroupLevel").change($("#table").jqGrid({

  postData: { groupId: $("#txtGroupLevel option:selected").val() },

Is this the right way to do? even though am unable to get the selected value from dropdown.

Kindly assist.

  1. Post:378

    Points:2694
    Re: Re-load jqgrid data based on the asp combobox selection

    Hi Manoj, 


    try this:
     $(function () {
            $("#txtGroupLevel").change($("#table").trigger("reloadGrid"));
        });
    postData: { groupId: $("#<%= txtGroupLevel.ClientID %>").val() }

      Modified On Apr-04-2018 07:00:57 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!