MF
Mary Fontana
August 2, 2011 02:57 PM UTC
I am using the following to allow multi selected cells
gdc.ListBoxSelectionMode = GridSelectionMode.None;
gdc.AllowSelection = GridSelectionFlags.Cell | GridSelectionFlags.Multiple | GridSelectionFlags.Keyboard | GridSelectionFlags.Shift;
I like how the entire row background color is changed when using
gdc.ListBoxSelectionMode = GridSelectionMode.One;
But if I set this it no longer allows for multi selected cells.
Is there another way to set the background color of row when a cell is selected?
RV
Ramesh V
Syncfusion Team
August 3, 2011 01:54 PM UTC
Hi Mary,
Thanks for your interest in syncfusion products.
We hve analyzed your requirements. By using the following code you can change the selction color.
Code Snippet[C#]:
grid.Model.Options.HighlightSelectionAlphaBlend = Brushes.Red;
Please let us know if this helps.
Regards,
Ramesh