Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Subathra on Jan 12, 2010 22:35
open dhtmlx forum
TreeGrid linked to tree

Hi All,

I have displayed my details in TreeGrid format. In this Treegrid, I have used the subtree in Three Columns. Now my requirement is to add a new item inside of that Tree using dhtmlxprocessor. Is it possible? and shall i use context menu inside of that tree.

Thanks & Regards,
P.Subathra
Answer posted by Alex (support) on Jan 13, 2010 01:49

Hello,

DataProcessor listens to changes only in the component that it is attached to. So if dataProcessor is attached to treegrid, only treegrid changes are send to the server.

For the Tree you should create another DataProcessor. If there are 3 different trees, 3 dataprocessor should be created and trees should be attached to them.

Answer posted by Subathra on Jan 13, 2010 03:32
Hi Alex,

       Thank you for your reply. I need only for that trees. Is it possible to display the context menu on that Tree?

Thanks & Regards,
   P.Subathra
Answer posted by Alex (support) on Jan 13, 2010 06:38

You can try use enableContextMenu method for that:

tree.enableContextMenu(menu);