Hi!
When I create a ConditionalDataTemplateSelector to use as CellTemplateSelector in a GridView, I have to specify the name of the field in my DataTemplateRule like this:
<
telerik:ConditionalDataTemplateSelector
x:Key
=
"PriceSelectedSelector"
>
<
telerik:DataTemplateRule
Condition
=
"IsSelected = False OR IsSelected = null"
Template
=
"t1"
/>
<
telerik:DataTemplateRule
Condition
=
"IsSelected = True"
Template
=
"t2"
/>
</
telerik:ConditionalDataTemplateSelector
>
But if I have a lot of columns that are just true/false I have to create a new ConditionalTemplateSelector for each and every column. Is there a way to build this in a more general way like "If the value in this cell is true, take template t1" so I could use my ConditionalTemplateSelector on different columns regardless of the name of the field?
Regards
Heiko