EasyUI Forum
October 10, 2024, 11:07:49 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: buttons with placeholder in a pagination  (Read 7998 times)
korenanzo
Guest
« on: May 17, 2019, 06:42:23 AM »

Hi there,

I am using a pagination to hold inline  a set of buttons; Every button should have its own place/position, and every one should be hide, maintaining its position.
 but if I hide() a button, it disappears and the button row collapses, occupying the empty place; if I use disable the button maintains its position but it is yet visible.
I  want to hide it, but maintaining the position of the other buttons.
Is it possible?

https://www.dropbox.com/s/rq1m98kx9qa8ner/buttons.png

I create the buttons with something like

 
 o.pagination({
        layout: '',
        displayMsg: '',
        buttons: [ {linkbutton} ...
]
    });
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: May 17, 2019, 08:05:04 PM »

Please set the 'visibility' style to 'hidden' instead of hiding it. This is the example shows how to achieve it.

http://code.reloado.com/ogamep/edit#preview
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!