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
355
Column supporting different cell templates
posted

Hi,

I have a requirement where I need to have one column of the grid to support different cell templates (textbox, combo, dateType, Formula Field). Here is the usecase. I have a class with properties (Name, Type, Choices) and this is bound to the grid with two columns (Name, ElementType). Type can be Text, Dropdown, Date or Func. Based on Type, I want each cell of ElementType column to be TextBox, Dropdown (bound to Choices property), DateTime or Formula control. Can we achieve this with XamGrid or XamDataGrid? If yes, provide me a sample showcasing this.

Thanks,
Mahadev