EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 09:21:22 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa
Pages: [
1
]
« previous
next »
Print
Author
Topic: buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa (Read 6023 times)
samuelzhu001
Newbie
Posts: 11
buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa
«
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 ?
Logged
jarry
Administrator
Hero Member
Posts: 2298
Re: buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa
«
Reply #1 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', ...);
Logged
samuelzhu001
Newbie
Posts: 11
Re: buttons in custom pager disappear when reload through $('#dg').datagrid({queryPa
«
Reply #2 on:
December 17, 2019, 01:10:40 AM »
OK. thanks.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...