DataGrid, Select a row, right-click

6 posts, 0 answers
  1. Владимир
    Владимир avatar
    4 posts
    Member since:
    Feb 2013

    Posted 27 Feb 2013 Link to this post

    Hello, the problem is such DataDrid to create a context menu, but it has a function of interaction with the selected row, so that when one line is highlighted, and we click the right mouse button on the 2, the context menu appears for the selection, that is, for one. Need to by pressing the right button on the DataGrid stood Item and its context menu. Tell me how to implement this.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 27 Feb 2013 Link to this post

    Hello,

    As I understand you can show the context menu for a single selected row. Still I do not undestand the second part: "Need to by pressing the right button on the DataGrid stood Item and its context menu.". Would you please clarify what is the "stood Item"?

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Владимир
    Владимир avatar
    4 posts
    Member since:
    Feb 2013

    Posted 27 Feb 2013 Link to this post

    When I click the right mouse button on the item of DataGrid, while the other item is selected, the selection is not moved to the item on which I right-clicked. How to do this?
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 27 Feb 2013 Link to this post

    Hello,

    You can check the "Row Context Menu" WPF Demo for an example on how to implement that.

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Владимир
    Владимир avatar
    4 posts
    Member since:
    Feb 2013

    Posted 28 Feb 2013 Link to this post

    I'm sorry, I could not find a suitable example. Send DataGridFilter sample program with the context menu. Thank you.
  7. Владимир
    Владимир avatar
    4 posts
    Member since:
    Feb 2013

    Posted 28 Feb 2013 Link to this post

    Sorry. Component RadGridView need an example from the context menu.
Back to Top
UI for WPF is Visual Studio 2017 Ready