EasyUI Forum
May 06, 2024, 08:23:55 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: Pagination Layout: How can put buttons in middle of layout not at the end  (Read 3128 times)
MSAG
Newbie
*
Posts: 41



View Profile Email
« on: October 22, 2018, 10:13:24 PM »

Pagination Layout: How can put buttons in middle of layout not at the end
i want to put buttons at specific location like layout standers


<div class="easyui-pagination" data-options="layout:['first','prev','manual','next','last','refresh'],buttons:$('#buttons')"></div>
<div id="buttons">
<table style="border-spacing:0">
<tr>
<td>
<input class="easyui-searchbox" style="width:150px">
</td>
</tr>
</table>
</div>


something like this

layout:['first','prev','Buttons is here','next','last','refresh']
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: October 23, 2018, 08:05:56 AM »

Please try this code to move the buttons to the middle of the pagination bar.
Code:
var mid = $('#pp').find('td:eq(1)');
$('#buttons').closest('td').insertAfter(mid);
Logged
MSAG
Newbie
*
Posts: 41



View Profile Email
« Reply #2 on: October 31, 2018, 08:26:07 AM »

Thanks a lot
It's works Wink
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!