Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
450
Dynamically Create a TemplateField
posted

Hey Guys,

I'm using a XamDataGrid (v15.2) with a TemplateField but I'd like to dynamically create this field instead of defining it in my XAML FieldLayout.  

My grid is being used by a variety of ViewModels / Models each with different fields for different use cases.  I'm using the TemplateField to define a custom field editor but it's possible that this field won't be needed for a use case.  As a result, I end up with two FieldLayouts - one that's dynamically created using the fields in my Model (AutoGenerateFields = true) and one with the TemplateField.

Thanks in advance for your help!

Parents Reply Children
No Data