I’ve a grid with paging enabled.
I’ve a datatset of 40 rows.
The grid displays 20 rows per page.
First time, the grid loads the first 20 rows and displays the paging bar with 2 “bricks” (1 & 2)
Brick 1 is disabled and status div displays ‘Records from 1 to 20 of 40’
Everything seems fine expect when I click on brick 2 nothing happens, the next 20 rows are not loaded.
Could you help me?
Are you using dynamic loading?
Please check if total_count attribute is correct.
You can find more information about dynamic loading here docs.dhtmlx.com/doku.php?id=dhtm … ep_by_step
Here is my xml:
<?xml version="1.0" encoding="UTF-8"?>
<rows total_count="40" pos="0">
What do you mean by “dynamic loading” ? Smart rendering?
If I look at this example :
http://dhtmlx.com/docs/products/dhtmlxGrid/samples/14_loading_big_datasets/02_50000_paging.html, smart rendering is not enabled so It may work without smart rendering on.
This sample uses dynamic smart rendering mode. In such mode only those rows are loaded which should be displayed to the user.
How much row are loaded per first request?
Try to use dhtmlxConnector extension. This extension can simplify server side operations related dhtmlx components. docs.dhtmlx.com/doku.php?id=dhtmlxconnector:toc
Fisrt request load 20 rows.
I’ve copied and set up this sample on my system:
Every thing work fine except paging, I still have the same issue : the first page loads but when I click on the next bricks (2,3,4,…) nothing happens.
I think the code displayed on this sample page is not exactly the running code used to manage the grid.
We cannot reproduce this issue locally. Please open ticket at support.dhtml.com and provide us complete demo where we can reproduce it.