I want to create context menu for treeitems in a treeview. The thing is I want to display different context menu for each treeItem. How to implement this?

Foe example I want to create "Add Employee" for Acc Dept and "Add Supporter" for IT support.
Based on name of the treeitem the context menu needs to be displayed.
TableView: see if that helps. - James_DMenuItems are notNodes, so you're not adding the sameNodeto multiple places in the scene graph. They behave a bit like the items in aListVieworTableView(except there's no menu cell API), you could readily add the same item to multipleListViews. - James_D