Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3914
Get cell-clicked while invoking context menu
posted

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

Parents
No Data
Reply
  • 7922
    posted

    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

    Thanks
    Todor

Children