Hi,
I’ve implemented the splitAt(…) in a treeGrid and got some problems rwith it.
Scenario: I’ve got a treeGrid with the first column frozen.
1st) When the treegrid is full, I try to delete a row from the treeGrid and i have the following javascript error -> Type Error: z is undefined.
This error comes from the dhtmlxtreegrid.js at line 57
The most curious is, if I’ve not got any column frozen, delete operation works right. Using the firebug in FF, I noticed that loops more twice (normal for each element ) and the z elements has been deleted and error happens.
2nd) I got the treeGrid with the first column frozen using icons, and the parent icons change if it has or not any child inside. The problem, when I delete or insert rows in a node there is a java script error in grid.setItemImage(a,b).
This becomes from the dhtmlxtreegrid.js at line 980
this._h2.get[rowId].image=url;
this.rowsAr[rowId].imgTag.nextSibling.src=url; –> nextSibling is null or not an object
So, how can I fix those problems? I’ve an abstract .js file where I manage all functions and object related with dhtmlxObjects (libraries) to do not change the original configuration in case of version migration. I save a headache doing it!
I hope for comments,
thanks a lot