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
760
XamDataGrid - how to control field visibility using different datasources.
posted

I have a XamDataGrid that is being used to display data from 3 different sources based on the button click. Here i am trying to bind the DataSource of the XamDataGrid from code behind. The fields from each source are different, so i can not define the field layout in Xaml.

After i bind the DataSource, how can i access the columns of the grid to make them visible or invisible based on the user input? Any suggestions to do this?