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

set background for specific cells of DataGrid

1 Answer 54 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Naseem
Top achievements
Rank 1
Naseem asked on 12 May 2011, 02:59 AM
Hi,

I want to set background for specific cells of DataGrid.

I know how I can set background for all the rows and specific column :
dgrdProduct.Columns["colFilter"].Background = Brush;


Instead of all rows , I need it to be just for GridView.SelectedItems and specific column.

I'd be thankful you guide me how I can implement that,

Kind Regards,
Naseem

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 12 May 2011, 06:41 AM
Hi,

I strongly suggest you to check our conditional style and template examples. 

Best wishes,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Naseem
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or