To solve the issue, for the contextmenu data you could create a custom property, that would stick each data item to one of the datatable items (fruit, flower, etc.).
When the contextmenu is shown, filter its items, using the created custom property. To catch the moment contextmenu is shown is possible with onShow event.