Hello,
In the following tree grid, there is always a plus sign (in enterprise skin), that false indicate that the folder has contents in it and that this folder could be opened:
All three folders look the same, when closed. Please see the attachments.
How could I create a tree grid, where the plus sign only exists on the folder “Folder with children”?
Regards Thomas
In the following tree grid, there is always a plus sign (in enterprise skin), that false indicate that the folder has contents in it and that this folder could be opened:
Code:
isc.TreeGrid.create({ "width": "100%", "height": "100%", data: isc.Tree.create({ "ID": "tripsTree_3", "rootVisible": false, "modelType": "children", "openProperty": "isOpen", "root": { "title": "Root", "id": "1", "children": [{ "title": "Empty Folder", "isFolder": true, "isOpen": false }, { "title": "Folder with children", "isFolder": true, "isOpen": false, "children": [{ "title": "Child one" }, { "title": "Child two" }] }, { "title": "Another empty folder", "isFolder": true, "isOpen": false }] } }) })
How could I create a tree grid, where the plus sign only exists on the folder “Folder with children”?
Regards Thomas
Comment