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 Reply
  • 620
    Offline posted in reply to Michael DiFilippo

    The sample in "UltraWinGrid Extended Selection Strategy Filter.zip" helped me, but i see a problem in the example.

    I cannot set focus onto a editable cell for editing the value.

    There are datetime and color combos in the grid in the example, try to open the combo, it won't open.

    This is the same case with other cell editing also.

    The reason i see why the editable cell is going out of its edit state is because we do the manually selecting of the row by Selected property.

    Prior to the selection change if we could store all the possible values which is going to get changed after the selection and resetting those values back will help, but Infragistics should help me get method for this, because i don't know what all properties i need to backup and restore.

    Thank you

Children