Row deletion throw the error with column type as "tree"

Hi All,

I am using DHTMLX3.0. and I am trying to delete a row from the grid but it throw type error , Please let me know what i am missing

Steps which i followed:

(1) I construct the grid as :
unisGrid = new dhtmlXGridObject(TEST_GRID_PARAMS);

Please find “TEST_GRID_PARAMS” value in attache file. It has first column type as “tree”.

temp1 (4.9 KB)

(2) Changing column type from “tree” to “ro”
unisGrid.setColumnExcellType(unisGrid.getColIndexById(“Uni0”), “ro”);

(3) After that values are filling in grid and then i try to delete a row with ID. it throw the below error
unisGrid.deleteRow(selRowId);

Uncaught TypeError: this.rowsAr[c.id] is null
_fixAlterCssTGR https://localhost/webnms/dhtmlx3.0/dhtmlxTreeGrid/codebase/dhtmlxtreegrid.js:20
forEachChild https://localhost/webnms/dhtmlx3.0/dhtmlxTreeGrid/codebase/dhtmlxtreegrid.js:9
_fixAlterCssTGR https://localhost/webnms/dhtmlx3.0/dhtmlxTreeGrid/codebase/dhtmlxtreegrid.js:20
_fixAlterCss https://localhost/webnms/dhtmlx3.0/dhtmlxGrid/codebase/dhtmlxgrid.js:82
enableAlterCss https://localhost/webnms/dhtmlx3.0/dhtmlxGrid/codebase/dhtmlxgrid.js:82
d https://localhost/webnms/dhtmlx3.0/dhtmlxGrid/codebase/dhtmlxcommon.js:45
callEvent https://localhost/webnms/dhtmlx3.0/dhtmlxGrid/codebase/dhtmlxcommon.js:45
deleteRow https://localhost/webnms/dhtmlx3.0/dhtmlxGrid/codebase/dhtmlxgrid.js:166

If i change column(id: “Uni0”) type to “ro” in attached file then it works. But i have code design limitation so i can’t change it. Please let me know the missing point.

Unfortunately I was not able to reproduce your issue locally.
Could you please, provide a complete demo or a demo link, where the problem can be reconstructed locally.
Here you can find a tutorial about creating a complete demo:
https://docs.dhtmlx.com/guides__demo_for_support.html