EasyUI Forum
May 17, 2024, 05:55:31 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Datagrid while pagination true , disable reload button  (Read 11620 times)
pratikk
Newbie
*
Posts: 49


View Profile Email
« 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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});
Logged
pratikk
Newbie
*
Posts: 49


View Profile Email
« Reply #2 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.  
« Last Edit: March 28, 2014, 11:00:26 PM by pratikk » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!