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
15
Column template changing at runtime when switching between tabs
posted

Hi,

XamDataGrid - version 19.2

There is a tab control that hosts a xamdatagrid with a lot of columns. Based on the tab in selection the related grid columns are made visible while setting visibility to false on the rest. This happens on the tab switching event. What is observed (see pic.) is that on switching from tab 3 to tab 1 the 2nd column 1st row has the correct contenttemplate and shows data while the 2nd row has an incorrect contenttemplate and so doesnt show the data. Note that the parent element's data context is not being propogated to the child. The child belongs to another column.

I was able to "workaround" this, strangely, by changing the order of the columns but we need to get to the cause.

Thanks

Reshma