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.
Hello Daryl,
Thank you for your prematurely given information related to this thread and posting in our forums. Based on the code snippet the UltraWinGrid columns should behave as per your requirements. This should not cause the checkbox of not working, since only the column of the checkboxes remains editable.
I am glad that you have found the source of the weird behavior and hope you are already figure it out. Please let me know if you need any assistance related to this thread and I will be glad to answer your questions.
Thank you for using Infragistics components!
Never mind, my company has a weird implementation that is causing the problem.
This thread can be deleted.