Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Krishna on Jun 22, 2007 03:24
open dhtmlx forum
How to pass a tree data type in a grid cell to a dhtmlxtree box so that the particular parent and child gets displayed as dhtmlxtree box.

Hi

I need to develop an application which is a grid with a tree datatype column. On clicking a button i need to display the parent and children relation of the current cell , on the dhtmlxtree format. Then i need to drag and modify the children and parent according to my need which would again reflect in the original grid . I sometimes need to make the children a parent . Is this possible . Kindly let me know . Also im quite new to XML . Kindly help me


regards Krishna Prabakar
Answer posted on Jun 25, 2007 13:10
The dhtmlxTree grid support dynamic changes of content, you need not to operate directly with XML
For adding|deleting nodes at necessary positions
    treeGrid.addRow(...
    treeGrid.deleteRow(...

For moving row to some other place in hierarchy
    treeGrid.moveRowTo(...

For open|closing branch
    treeGrid.openItem(...
    treeGrid.closeItem(...
Answer posted by Nadine (Support) on Dec 09, 2014 23:08

Not much can be said in addition to the reply above, but you also can check dhtml gantt and export to excel java and find out what we have probably missed in our explanation.