Is it possible to use a DataTemplate for a GridView columns collection?
I want to define my columns once and use it in multiple views
3 Answers, 1 is accepted
answered on 31 Jan 2012, 07:34 AM
Generally, you can define a DataTemplate in the Resources section and set it for each column you want afterwards. However, if you need to display different properties in your grid that might not be a good approach. What is the exact scenario that you want to achieve ? Do you want to have same columns with same values or you want to apply different style - like setting a background for example ?
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>