Title: Custom Pagination for Datagrid Post by: BinaryCode on July 01, 2015, 03:55:52 PM Hi,
I have problem custom pagination to custom layout button and add searchbox for datagrid: First time OK, Code: var pager = listVehicle.datagrid('getPager'); But..., after call: Code: listVehicle.datagrid('loadData', {"total": 0, "rows": []}); Pagination back to default, Help me please, TIA, Title: Re: Custom Pagination for Datagrid Post by: jarry on July 01, 2015, 05:03:03 PM Please notice that calling .datagrid({...}) with a configuration object as the parameter will re-create the datagrid again. You should prevent from doing that. If you just want to set the 'queryParams' property, please try this:
Code: var opts = listVehicle.datagrid('options'); Title: Re: Custom Pagination for Datagrid Post by: BinaryCode on July 01, 2015, 06:17:50 PM Hi Jerry,
Great very help me, TIA |