I have added a custom button in Visual Editor in the datagrid. I have declared a simple Javascript code in Client After:
var win = Runner.displayPopup( {
url: "client_add.php",
header: 'Contact',
afterCreate: function(win) {
win.setWidth(800);
win.setHeight(800);
}
});
The button is working fine but when I'm filtering the datagrid based on a search condition, my custom button doesn't work.
What I'm doing wrong?