Hello,
I need to be able to support a grid which at design time will not have a set number of columns. For example, the app will run, get some data from the server and create some objects. Depending on the response from the server, I may have a different number of objects each time I run the app.
What do I need to do to be able to have my grid show the right number of columns and bind them to the right objects? I am guessing this will need to be done in code since it cannot be done in XAML.
Can someone provide a simple exampe of this functionality please?
Thanks.
Hey guys, any tips/samples demonstrating this?
Hi,
I am not sure exactly what you mean, but the grid will automatically generate the columns/fields depending on your data source. You don’t need to specify the columns/fields unless you want to do some customizations to them i.e. to change the label of the column. Hope this helps!
Thanks,
Diyan Dimitrov