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
285
row level, header level and grid level context menu
posted

Does the infragistics controls for silverlight provide support for row level, header level and grid level context menu within a single grid. That is if a user right clicks a row a different context menu should appear, if the user right clicks on a column header a different context menu should appear and similar when the user right clicks the grid. If you can provide me with a sample that would be great.

Parents
No Data
Reply
  • 5595
    posted

    Hi,

    You can attach a XamContextMenu to the XamGrid, hook up to the opening / opened events of the XamContextMenu and determine the control the user clicked by using the event arguments object (e.GetClickedElements<Cell>()) and then displaying the corresponding menu items.

    For example how to use the event argumets you can refeer to this post.

     

    HTH,

Children
No Data