HI all,
I'm very new to Lightstreamer APIs.
Any one please explain me how pagination works in DynaGrid .
I've 15 records in my DynaGrid(Abstract widget) and i want to display 5 records in each page. So, following is the code
var dynaGrid = new DynaGrid("stocks",true);
var cellList = dynaGrid.extractFieldList()
dynaGrid.setSort("stock_name");
dynaGrid.setNodeTypes(["div","span","img","a"]);
dynaGrid.setAutoCleanBehavior(true, false);
dynaGrid.setMaxDynaRows(5);
This successfully divided my grid into 3 pages. The first page is working fine but when i am moving to second page or third page they are not displaying the other 10 records, they are only showing some of (4 or 3) records in the first page.
Am I missing something??