While using contextMenu (right-click) and table selection (left-click) both are maintaining two separate objects of row clicked. I want to perform the following task in PrimeNG- tree table, help me out:
- Left-click select the first row.
- Press Ctrl key and left-click select the second row.
- Press Ctrl key and right-click select the third row and open context menu.
Expected result:
- Maintain same select style for all the three rows.
- Get an array of all the selected objects.
Actual result:
- Maintains two different styles independently for left and right clicks.
- It produces an array of objects for left-click selections and a separate independent object (not an array) for right click.
Right click is not allowing multiple selection.