When You try to delete a row in a treegrid with treegridlines actived, you get this error :
self._updateLine is not a function
Seems to be a bug as It happens too in the samples given in your documentation ( dhtmlx.com/docs/products/dhtmlxT … lines.html)
Any quickfix ?
Problem confirmed and fixed - please contact us directly at support@dhtmlx.com - we will send updated version of dhtmlxtreegrid.js
Thanks for you quick input.
Tried out new version of dhtmlxtreegrid_lines.js.
It effectively corrects the javascript bug as row is now correctly deleted.
Unfortunatly, It doesn’t seem to work properly when linked with a Dataprocessor (autoUpdateMode : off).
It’s deleting row at calls although it should only strike row and wait for sending data.
Furthermore no DB requests are made during the process.
On a bright side, Dataprocessor works perfectly when treegridlines is off, wich suggests that only treegridLines is implied.
Conflict between DataProcessor and TreeeGridLines extensions confirmed, both events use same onBeforeRowDeleted event
We will fix issue in next build, for now you can update code in next way
dhtmlxtreegrid_lines.js , line 108-130
this.attachEvent(“onBeforeRowDeleted”,function(id){
…
},1);
return true; // << this line need to be added
});
Thanks.
Chain of events works perfectly now.