EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 06, 2024, 08:23:55 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Pagination Layout: How can put buttons in middle of layout not at the end
Pages: [
1
]
« previous
next »
Print
Author
Topic: Pagination Layout: How can put buttons in middle of layout not at the end (Read 3128 times)
MSAG
Newbie
Posts: 41
Pagination Layout: How can put buttons in middle of layout not at the end
«
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
Re: Pagination Layout: How can put buttons in middle of layout not at the end
«
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
Re: Pagination Layout: How can put buttons in middle of layout not at the end
«
Reply #2 on:
October 31, 2018, 08:26:07 AM »
Thanks a lot
It's works
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...