This is a migrated thread and some comments may be shown as answers.

Background of selected Cells

2 Answers 77 Views
GridView
This is a migrated thread and some comments may be shown as answers.
guo
Top achievements
Rank 1
guo asked on 19 Mar 2020, 07:33 AM

Hi,

In 001.png,how to change the background of the cells when I press and hold the mouseleftbutton?

the selectionUnit is cell,and the selectionMode is extended.

2 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 23 Mar 2020, 01:00 PM

Hello Guo,

Thank you for the provided picture. 

If you want to change the selected background of the cells, you can use the SelectedBackground property of the GridViewCell. Alternatively, if you want to select cells by dragging over the control, you can utilize the DragElementAction property of the RadGridView. 

I hope you find this information helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
guo
Top achievements
Rank 1
answered on 24 Mar 2020, 08:34 AM

Thank you,it is helpful.

Hopes the disaster pass soon and everything will get better

Tags
GridView
Asked by
guo
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
guo
Top achievements
Rank 1
Share this question
or