In Ultra Grid we have to select multiple rows using shift + mouse click.When am selecting 5th record its having red color and press shift + mouse click up to 10 records. It is taking first record color (red) and applying all the selected rows. This was the issue
Please find the attachment for your reference
Before select
After select
Hello,
This is expected behavior , SelectedRowAppearance would apply to sinlhe as well as multiple selected rows there is no way you can distinguish them, as a workaround you can set SelectedRowAppearance ForeColor to may be black or some other color like this:
e.Layout.Override.SelectedRowAppearance.ForeColor = Color.Black;
Yes,I verified by removing below code. e.Layout.Override.SelectedRowAppearance.ForeColor = Color.Red I dont want to apply selectedrowappearance ForeColor for my UltraGrid after i selected multiple rows from row3 to row10 it should retain same ForeColor which is applied in initializerow event. select multiple rows which contains both black and red ForeColor record its showing the selected row ForeColor in white. my expectation is to retain same Forecolor.I2766.SelecttionGrid.zip have attached the sample project.
Which appearance did you set in the grid ? is it SelectedRowAppearance, then its expected .
e.Layout.Override.SelectedRowAppearance.ForeColor = Color.Red;
By pressing the shift mouse click you are selecting the other rows then SelectedRowAppearance would apply to these rows as well.