Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stevo on Mar 24, 2008 16:00
open dhtmlx forum
Disable expanding functionality of a treegrid

I want to disable the expanding feature, however I still want to be able to drag items into it, just keep all subnodes I am dropping in hidden. ANy way to do that?

Thanks
Answer posted by Support on Mar 25, 2008 02:58
Basically you can disable such functionality by

grid.attachEvent("onOpenStart",function(){
    return false; // block any open operation
});