Hi,
I want to add a column (unbound) in the xamDataGrid on runtime.
Till what extent I can work with adding, alterations and deletion of Columns, also to be updateble on DataSet or collection.
Kindly tell me the options, procedure and code how can I achieve this.
Thanks,
VJ
Hello!!
I'm using a XamDataGrid to show some properties of a viewmodel, my grid has 5 columns but I need to add an additional column. I use an unbound field to do it, but the column appears like column 1. Does anybody know if I can put the new column at the end, like column 6?? Thanks!!
Hello Varun,
If you are adding an UnboundField, you have to bind it, because as its name implies it is not.
The normal/bound field uses its name to map to the underlying object, but the UnboundField does not do this automatically. This is why you have to set its BindingPath property to bind it to the underlying object.