|
Title: Scrollview + pagination:true - Page number not change while scrolling Post by: supun151515 on December 17, 2015, 04:16:10 AM Hi,
With reference to http://www.jeasyui.com/extension/datagridview.php (http://www.jeasyui.com/extension/datagridview.php),
BUG: Goto LastPage by clicking pagination toolbar, then scroll down. After end of last 50 rows(PageSize), grid wll sync data from second page again. See the Fiddle below; http://jsfiddle.net/ahbfaxd6/2/ (http://jsfiddle.net/ahbfaxd6/2/) I hope you can make interlink between scroller and pagination. Please do not reply with "we can't use both options at the same time" ::) I know you can find a better solution Thank You, Supun Title: Re: Scrollview + pagination:true - Page number not change while scrolling Post by: jarry on December 17, 2015, 04:26:47 AM The scrollview is designed to scroll millions of data without pagination. If you want the pagination, please use the normal view instead.
Title: Re: Scrollview + pagination:true - Page number not change while scrolling Post by: supun151515 on December 17, 2015, 05:20:57 AM Hi jarry,
I was expecting better solution than this answer. Hope you will understand. Thank you, Supun Title: Re: Scrollview + pagination:true - Page number not change while scrolling Post by: jarry on December 17, 2015, 06:10:04 AM Why do you want the pagination on the scrollview? If you want to scroll to the specified page. you can call 'gotoPage' method with the page number.
Code: var page = 100; If you want to scroll to the specified row, you can call 'scrollTo' method with the row index. Code: $('#dg').datagrid('scrollTo', 200); // scroll to the row 200 |