EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jokersoft on December 08, 2013, 08:53:47 AM



Title: pagination position top
Post by: jokersoft on December 08, 2013, 08:53:47 AM
Is there any way to move datagrid pagination from bottom to the top of the table?


Title: Re: pagination position top
Post by: stworthy 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


Title: Re: pagination position top
Post by: jokersoft 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.


Title: Re: pagination position top
Post by: stworthy on December 13, 2013, 01:23:29 AM
Code:
<script>
  $.fn.datagrid.defaults.pagePosition = 'top';
</script>


Title: Re: pagination position top
Post by: jokersoft on December 15, 2013, 09:34:05 AM
Thanx a lot!