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
85
Context menu in Hierarchial xamGrid
posted

I have a silverlight hierarchial Grid somewhat similar to the sample http://www.infragistics.com/samples/silverlight/grid/#/hierarchical-data , and have about 4 levels.

I need to add context menu when clicked on a column in any row, and the menuitems displayed are dependent on the value of a column. How i can acheive this. Appreciate any help/suggestions.

thanks.

Parents
  • 138253
    Offline posted

    Hello Nalini,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created a Style for the CellControl and added XamContextMenu to it. I also handled the Laded event of the ContextMenu and in the handler I was able to get the clicked Cell’s Value order to add different items to the menu. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.

    XamGridContextMenu.zip
Reply Children
No Data