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
620
Select/Deselect row in ultragrid
posted

Is it possible to select/deselect a row in ultragrid by single mouse click like listbox control in winforms?

Example:

1st click on a row should select(highlight) the entire row.

2nd click on the same row should deselect the entire row.

Select is working when mouse is clicked on Row header in ultragrid and Deselect is working when CTRL + mouse click is done.

But i want the select/deselect feature when clicking a row(not row header).

Thank you.

Parents
No Data
Reply
  • 29105
    Verified Answer
    Offline posted

    Hello Toji,

    I attached another sample that uses a SelectionStrategyFilter which will work nicely with multiple rows selected and is more efficient for your requirement. Compared to my previous sample, deselecting one row won't affect the others.

    For more details you can visit our dev center article here: (best viewed in Chrome)
    http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=8279

    Let me know if you have any questions.

    UltraWinGrid Extended Selection Strategy Filter.zip
Children