Re: setting object data (how do I?)



Jim Edwards wrote:

Hi,

I have a tree with two levels, call them branchs and leafs.

I don´t want the user to be able to select branchs, how can I turn that
off?

I suggest to switch from Tree to CTree. This way you can do what you
want by calling $ctree->node_set_selectable($node, 0);

Liviu




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]