Hi, i have a xamGrid with two columns, the first column is a ComboBoxColumn, when i change the value of the combobox i would like to insert in the second column (depending of the value of the combobox) different UI controls like textboxs, others combos, checkboxs. Anybody has an idea or example of how to do that?
Thanks
Hello,
In theory you could accomplish this by creating a custom column for the second column. In the ResolveDisplayElement event of the custom column you would check the value of the first column and then return the appropriate FrameworkElement object for the data in the first column.
For an overview of how to create a custom column, please see the following blog post:
<http://blogs.infragistics.com/blogs/devin_rader/archive/2010/07/08/creating-custom-columns-for-xamgrid.aspx>
Hi Jason, yes i understand you, but the ResolveDisplayElement event only occurs the first time when the grid is loaded, in that case, i need a manner of refreshing the cell, so the ResolveDisplayElement event can execute it again, but i can't find the way.