EasyUI Forum

General Category => General Discussion => Topic started by: pratikk on March 28, 2014, 01:32:56 AM



Title: Datagrid while pagination true , disable reload button
Post by: pratikk on March 28, 2014, 01:32:56 AM
As written on subject ; In datagrid, I want to disable the reload button while pagination is set to true


Title: Re: Datagrid while pagination true , disable reload button
Post by: stworthy on March 28, 2014, 06:39:08 PM
Please set 'showRefresh' property to false for the pagination to hide the 'refresh' button.
Code:
var pager = $('#dg').datagrid('getPager');
pager.pagination({showRefresh:false});


Title: Re: Datagrid while pagination true , disable reload button
Post by: pratikk on March 28, 2014, 10:17:07 PM
where do I have to put this code ?  
I am creating the datagrid in HTML.
 There is a function fires  on "body onload"   I put this code inside this function , but it is not working.