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
125
Row Select and Edit
posted

So I have grid that I want the user to be able to select a row, and have the background of that row change to the color of a highlighted row. However the very first column is a check box column that they need to be able to check.

I don't care if it highlights the row when they check the check box, I'd rather it not, but it doesn't matter to me.

I've tried a number of settings but it seems whenever I enable the ability to select a row the check box stops working, and whenever i get the check box working the row select stops working.  

Here is the code I have that I think should work:

For Each col As UltraGridColumn In myGrid.DisplayLayout.Bands(0).Columns

If col.Key <> "Send" Then
col.CellActivation = Activation.ActivateOnly
col.CellClickAction = CellClickAction.RowSelect
Else
col.CellActivation = Activation.AllowEdit
col.CellClickAction = CellClickAction.Edit
End If
Next

I've tired:

            Grid.IsRowSelectable = True 'check box stops working :(

All cells need to be read-only except the "Send" checkbox cells.