Title: buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa Post by: samuelzhu001 on December 16, 2019, 10:48:26 AM I use custom buttons in datagrid, it works fine when changing page by pager's navigator, but when I try to reload data from server side through $('#dg').datagrid({ queryParams:{}}), buttons disappear.
Is it a bug? or how to make it always show ? Title: Re: buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa Post by: jarry on December 17, 2019, 12:09:02 AM Calling this line $('#dg').datagrid({ queryParams:{}}) will re-create the datagrid again. Please call 'reload' or 'load' methods to load data from your server.
Code: $('#dg').datagrid('load', ...); Title: Re: buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa Post by: samuelzhu001 on December 17, 2019, 01:10:40 AM OK. thanks.
|