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
1155
Insert columns based on a list of the collection of the all row view models
posted

Hi,

I have a new requirement on the data grid and I have no idea how to implement it:

1.each row view model will have a list of another type(ChannelType) which contains name property and this list may defferent between rows

2. I want to show the name of ChannelType as a column, that means each row will have as many columns as the total count of the ChannelTypes with different names. For example, from the sample application, I would like to have Channel1~Channel7 as additional columns and the value of the column is the Id of it(since I didn't provide a value property).

Is this possible? If this possible, could you please change the sample applicatin and send it to me?

Thank you very much!

XamDataGridWithRadomColumns.zip