-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
Hi
I am using context menu as a component and this component is being used in a mat table. In mat table it is being rendered for each of the row.
Issue is if I handle the click even in the context menu component using the onclick method subscription and emit and output from it. In my parent component (Mat table) when i listen this output, this gets triggered multiple times ( based on number of rows).
If I simply subscribe this event in mat table component itself, then I am not sure how to get the row data information for which i have selected the context menu item. In my case my context menu items are Delete and Download. I should know what row I am performing the action.
Can you please fix this or tell me if any work around is there?
betojsx and jhonattan-santos