EasyUI Forum

General Category => General Discussion => Topic started by: korenanzo on May 17, 2019, 06:42:23 AM



Title: buttons with placeholder in a pagination
Post by: korenanzo 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} ...
]
    });


Title: Re: buttons with placeholder in a pagination
Post by: stworthy 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