EasyUI Forum
May 08, 2024, 03:47:22 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: enable/disable pagination  (Read 5956 times)
itay-g
Newbie
*
Posts: 35


View Profile
« on: February 25, 2014, 08:22:29 AM »

hey,
i need to disable the buttons on my pagination element(all of them)
is there an option to do so?

thanks
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: February 25, 2014, 08:42:49 AM »

Please provide an example shows how you define the pagination buttons.
Logged
itay-g
Newbie
*
Posts: 35


View Profile
« Reply #2 on: February 27, 2014, 12:19:35 AM »

the pagination buttons are ready to use in the pager element (3rd party).
<div class="main-pager-div"></div>
i only want them be disable  when there is a request for data from the server.
or enabled when data came back from the server.
i want all the pager buttons to be effected from the change.

thanks
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: February 27, 2014, 01:03:35 AM »

Any html elements can be included into pagination as external buttons. Once you have the reference to your elements, you can do anything with them, including enabling or disabling actions. Please refer to this example http://jeasyui.com/demo/main/index.php?plugin=Pagination&theme=default&dir=ltr&pitem=Attaching%20Other%20Components.
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!