Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paul on Sep 23, 2008 08:12
open dhtmlx forum
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.
Answer posted by dhtmlx support on Sep 24, 2008 02:47
The issue was not reconstructed locally. Please, contact us at support@dhtmlx.com and provide the sample where the problem can be recreated.