Hello!
I’m using smart rendering, which works ok the first time
objGrid[gridIndex].setInitWidthsP(Grid_Col_Widths[onIndex]);
objGrid[gridIndex].setColTypes(Grid_Col_Types[onIndex]);
objGrid[gridIndex].setColAlign(Grid_Col_Aligns[onIndex]);
objGrid[gridIndex].setColSorting(Grid_Col_Sorts[onIndex]);
objGrid[gridIndex].init();
[b]objGrid[gridIndex].enableSmartRendering(true,100);[/b]
objGrid[gridIndex].enableAlterCss("even","odd");
objGrid[gridIndex].loadXML(objGridQString[gridIndex],GridDataLoaded);
objGrid[gridIndex].attachEvent("onKeyPress",GridKeyP);
objGrid[gridIndex].attachEvent("onBeforeSorting",GridSorted);
objGrid[gridIndex].attachEvent("onFilterStart",GridFilter);
objGrid[gridIndex].enableEditEvents(true,true,false);
objGrid[gridIndex].attachEvent("onEditCell",GridEdit);
so the server call is done when the next 100 rows are needed, and everything works great;
but there’s the possibility, I will have to refresh the rows, because something changed;
so I do the clearing and load the data again
objGrid[actualGridIndex].[b]clearAll[/b]();
objGrid[actualGridIndex].[b]loadXML[/b](objGridQString[actualGridIndex],GridDataLoaded);
I would expect to read the first 100 rows (that works!) and, when I scroll down, the next 100 rows needed. But after the first 100 rows nothing happens: no call to the server;
it seems as the information of smart loading was lost in the meantime?
I also tried
objGrid[actualGridIndex].[b]clearAndLoad/b;
but the problem is still the same;
how do I manage to get smart reload working after a data rebind?
thanks!