Hi
Is it possible to implement ajax Grid refresh event while using custom button (like in popup add/edit event ajax refresh list page)
I have added
but this reload the page altogether, not the grid alone.
if I use the following code in button on client after area it shows the result in server error feedback.
how can i modify the above to achieve the grid refresh using button
Is it possible to implement ajax Grid refresh event while using custom button (like in popup add/edit event ajax refresh list page)
I have added
var message = result["txt"] + " !!!"; if(alert (message)){} else window.location.reload();
but this reload the page altogether, not the grid alone.
if I use the following code in button on client after area it shows the result in server error feedback.
var message = result["txt"] + " !!!"; ctrl.setMessage(message); Runner.runnerAJAX(Runner.pages.getUrl(pageObj.tName, pageObj.pageType)+"?a=return", pageObj.ajaxBaseParams, function(respObj){ pageObj.pageReloadHn.call(pageObj, respObj) });
how can i modify the above to achieve the grid refresh using button