EasyUI Forum
June 02, 2024, 10:26:04 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: Problem with Virtual Scrolling Extension [possible Bug]  (Read 5730 times)
doev
Newbie
*
Posts: 22


View Profile
« on: December 12, 2013, 05:58:43 AM »

See this example: http://www.jeasyui.com/tutorial/datagrid/datagrid27_demo.html

if You set the pageSize for example to 100, it initial loads only 50 tablerows. When you scroll down, it next loads tabelrows 100-200 and there is a "hole" in the data.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 13, 2013, 05:03:37 AM »

If you set 'pageSize' to 100, please change the corresponding server code as:
Code:
<?php
$page = isset($_POST['page']) ? intval($_POST['page']) : 1;
$rows = isset($_POST['rows']) ? intval($_POST['rows']) : 100;
?>

Logged
doev
Newbie
*
Posts: 22


View Profile
« Reply #2 on: December 16, 2013, 12:06:07 AM »

Thx! Smiley
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!