Home › Forums › Guriddo jqGrid JS › Help › Reload grid after onclickSubmit
Hi All,
I try to reload the grid but it's failed. I have to use this code to refresh the page instead to get the grid reload to new data.
, onclickSubmit: function (params, posdata) {
Solved! Solution: $(“#list1″).jqGrid('setGridParam',{ url: '@Url.Content( “~/PAGE/List/”)', //type of data datatype: 'json' }).trigger(“reloadGrid”); Thank you. Regards, Micheale
Solved!
Solution:
$(“#list1″).jqGrid('setGridParam',{ url: '@Url.Content(
“~/PAGE/List/”)',
//type of data
datatype: 'json' }).trigger(“reloadGrid”);
Thank you.
Regards,
Micheale
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS