onCellChanged triggered by smart rendering


I’m using dynamic smart rendering to speed up the performance of my grid, but I’m having a problem with it. I’m also making some changes using the onCellChanged event. However, when a user scrolls down to see new rows, the onCellChanged event is triggered. This is causing some massive performance problems. How do I keep smartRendering from triggering onCellChanged?


This is expected behavior. onCellChanged is called for data set during loading from XML data, or during adding new row as well. As alternative you can use “onEditCell” event:

grid.attachEvent(“onEditCell”, function(stage,rId,cInd,nValue,oValue){

if (stage==2){//if cell editor is closed
return true;//mandatory
return true;//mandatory
docs.dhtmlx.com/doku.php?id=dhtm … oneditcell