I am new to ultrawingrid and have a problem to implement a functionality ,
My UltraWinGrid has around 10 column and one of them is a checkbox column,
when ever user selects a row, lot of stuff is happening. actually AfterRowActivate gets called
and it load other control of the page with data of the selected row. All the
column are non editable except the checkBox Column. Now I want that user should be able to check
one or more checkboxes without changing the selection of the row. suppose if Row 1 is selected and then
user checks a checkbox on row 4 and 5 then they should get selected but the Row 1 should remain selected
because i donot want AfterRowActivate event to get fired as it will load the data from row 4 and 5 to the other control of the page
which i dont want, where as if user clicks on some other column (having no checkbox) in that case AfterRowactivate should get called.
One more thing i noticed that it took me two clicks to check the checkBox (first click activates the row and the second one checks the checkbox)
Thanks in advance
Hi,
There's no way to do this. When you click on a row, that row MUST become the ActiveRow in order for the row to be edited. And any selected rows will be cleared when a cell enters edit mode.
sarveshshukla said:One more thing i noticed that it took me two clicks to check the checkBox (first click activates the row and the second one checks the checkbox)
I don't know why this is happening. That's not the default behavior of the grid. Perhaps something in your code is causing this. which events of the grid are you handling. Just as a test, you might try commenting out any code in any grid events just to see if that's what is causing this issue.
You might also check the CellClickAction property and see if maybe you are setting it to select the cell or row instead of editing.
Hi Mike,
I have a grid with multiple check box and all is checked with highlighted,What I want if i have unchecked check box then Its not highlighted but other row will be highlighted which is checked.
Please send me Solution on it.
Thanks a lot Mike for your Reply