Change cell value in treegrid

hi,

how can i change some cell value when using treegrid?
I tried this approach but it didn’t work at all:

tree.cells(SOME_ID, SOME_COLUMN).setValue(SOME_VALUE);

P.S.

Have in mind that i don’t want to change the text of the ‘tree’ column type but the text of another column which index is > 0

10x in advance

Unfortunately the issue cannot be reproduced locally.
the cells().setValue() method works well for us.

If issue still occurs for you - please, provide with any kind of sample of your code.

var serviceTreeGrid = dataTab.cells(“d2”).attachGrid();
serviceTreeGrid.selMultiRows = true;
serviceTreeGrid.setImagePath(dhtmlXGridImagePath);
serviceTreeGrid.setHeader(“Услуга,Информация”);
serviceTreeGrid.setInitWidths(“180,*”);
serviceTreeGrid.setColAlign(“left,right”);
serviceTreeGrid.setColTypes(“tree,ro”);
serviceTreeGrid.setColSorting(“str,str”);
serviceTreeGrid.enableTreeCellEdit(false);
serviceTreeGrid.init();
serviceTreeGrid.setSkin(“dhx_skyblue”);
serviceTreeGrid.addRow(“grajdanska”,[“Гражданска”,“2012-09-10”], null, null, “…/…/…/images/protect_yellow.png”, false);
serviceTreeGrid.addRow(“autokasko”,[“Автокаско”,“2012-09-10”], null, null, “…/…/…/images/shield_red.png”, false);
serviceTreeGrid.addRow(“vinetka”,[“Винетка”,“2012-09-10”], null, null, “…/…/…/images/credit_card.png”, false);
serviceTreeGrid.addRow(“gtp”,[“Г.Т.П.”,“2012-09-10”], null, null, “…/…/…/images/preferences_composer.png”, false);
serviceTreeGrid.addRow(“tahometer”,[“Тахограф”,“2012-09-10”], null, null, “…/…/…/images/filefind.png”, false);
serviceTreeGrid.addRow(“oilChange”,[“Масло”,“250 km.”], null, null, “…/…/…/images/system_software_update.png”, false);
serviceTreeGrid.addRow(“tireChange”,[“Гуми”,""], null, null, “…/…/…/images/tire.png”, false);
serviceTreeGrid.addRow(“tireType1”,[“М-2: лява външна гума”,“14 000 km”], null, “tireChange”, “…/…/…/images/tire.png”, false);
serviceTreeGrid.expandAll();

serviceTreeGrid.cells(“oilChange”, 1).setValue(“Some value”);

The reason it didn’t work is because i created the treegrid in a seperate function using a local variable.

So the method setValue didn’t work for me is because i treegrid was undefined in the function i was using the setValue.