Home > DeveloperSection > Forums > Re-load jqgrid data based on the asp combobox selection
Manoj Bhatt
Manoj Bhatt

Total Post:153

Points:1079
Posted on    August-25-2014 1:21 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 2200  View(s)
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.



Sumit Kesarwani

Total Post:378

Points:2694
Posted on    August-25-2014 2:20 AM

Hi Manoj, 

try this:

 $(function () {

        $("#txtGroupLevel").change($("#table").trigger("reloadGrid"));

    });

postData: { groupId: $("#<%= txtGroupLevel.ClientID %>").val() }


Don't want to miss updates? Please click the below button!

Follow MindStick