EasyUI Forum
May 17, 2024, 10:37:36 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: pagination position top  (Read 8789 times)
jokersoft
Newbie
*
Posts: 14


View Profile
« on: December 08, 2013, 08:53:47 AM »

Is there any way to move datagrid pagination from bottom to the top of the table?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 08, 2013, 12:56:29 PM »

Please refer to http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=Server%20Side%20Pagination
Logged
jokersoft
Newbie
*
Posts: 14


View Profile
« Reply #2 on: December 12, 2013, 07:25:35 AM »

is there a way to set it by default?
$.fn.pagination.defaults.pagePosition = 'top';
doesn't seem to work.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: December 13, 2013, 01:23:29 AM »

Code:
<script>
  $.fn.datagrid.defaults.pagePosition = 'top';
</script>
Logged
jokersoft
Newbie
*
Posts: 14


View Profile
« Reply #4 on: December 15, 2013, 09:34:05 AM »

Thanx a lot!
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!