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

Can you declartively disable rows?

3 Answers 24 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 20 Oct 2010, 03:09 AM
Can you declartively disable rows?
(e.g. Do something similar to binding a row.IsEnabled to some bool)
(Or bind to some other value, and use a Convert to bool it)


Or can this be done in code behind or events?

3 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 22 Oct 2010, 11:24 AM
Hello Alex,

There are different approaches to enable/disable GridViewRow based on your custom scenario.
In our online demos you may find very helpful the following sample Enabled/Disabled. In addition to this I have prepared an example for you that disables GridViewRows based on property value of the underlying object.
 
Sincerely yours,
Vanya Pavlova
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
0
Alex
Top achievements
Rank 1
answered on 26 Oct 2010, 05:35 AM
Hi Vanya,

Thanks for the sample, I've found it very useful.
0
Thussapon
Top achievements
Rank 1
answered on 24 Jul 2012, 08:16 AM
Thank you for your example. It helps me a lot.

//Katae
Tags
GridView
Asked by
Alex
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Alex
Top achievements
Rank 1
Thussapon
Top achievements
Rank 1
Share this question
or