Hi,
When I right-click on the PivotGrid to get the context menu, how can I get the cell clicked on while the ContextMenu is opening?
Thanks
Sangeetha
Hi
There is a CellClicked event exposed by pivot
gridpivotGridXmla.CellClicked += new EventHandler<PivotCellClickedEventArgs>(pivotGridXmla_CellClicked);
Another way is to enable single selection for cell and in your opening event to check about selected cell
ThanksTodor
Hi Todor,
Thanks for your reply. I already tried pivotGrid.CellClicked event. On right-click the context menu is invoked, so somehow cell-clicked is not fired.
And on right-click to invoke context menu, the pivot-cell clicked on is not selected.