Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Frank S. W. on Apr 22, 2009 23:06
open dhtmlx forum
Expand / Hide tree layers in gridtree

I would like to use click or doucble click to expandehide tree items, just as i now uses the [+] symbol. Is there any code that I can use to toggle tree items to show/hide?
Answer posted by Support on Apr 23, 2009 05:37
You can add next code to grid's init

grid.attachEvent("onRowDblClicked",function(id){
        this.openItem(id);
})