Hi All,
Â
I try to click on refresh button at Action Bar, but it’s doesn’t reload my grid even though the filter toolbar reset to empty.
$(“#list1”).jqGrid(‘navGrid’, ‘#pager1’, { edit: true, add: true, del: true, search: false, view: false, refresh: true, cloneToTop: true }, updateDialog, addDialog, deleteDialog, { multipleSearch: false, showOnLoad: false, onReset: true, closeAfterSearch: true },{ width: 900 });
Â
It’s run this script section:-
switch(o.refreshstate) {
case‘firstpage’:
//$($t).trigger(“reloadGrid”, [{ page: 1 }]);
$($t).setGridParam({ page: 1 }).trigger(“reloadGrid”);Â
break;
case‘current’:
//$($t).trigger(“reloadGrid”, [{ current: true }]);
$($t).setGridParam({ current:
true }).trigger(“reloadGrid”);
break;
}
 if ($.isFunction(o.afterRefresh)) { o.afterRefresh.call($t); }
Please advise.
Â
Regards,
Micheale
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top