Trying to show child items by script

Hi,



We’re using LoadOnDemand to populate our treegrid.



We can populate the root level using script fine, but the expand (+) buttons do not appear.



for (var i = 0; i < workItems.length; i++) {

var workItem = workItems[i];

mygrid.addRow(workItem.Id, [workItem.Name, ‘test1’, ‘test2’, ‘test3’], null, workItem.ParentId, ‘’, ‘true’);

}



I thought the final variable - which I 've set to true - would show the (+) button. I then respond to the expand and load child items using script.



Any ideas?



Paul.

The issue was not reconstructed locally. Please, contact us at support@dhtmlx.com and provide the sample where the problem can be recreated.