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
145
Error assigning DataSource to xamDataGrid with ColumnsDefitions or FieldSettings
posted

When I define a xamDataGrid with ColumnsDefinitions in the DataPresenter, or even If I define FieldSettings, when I set the DataSource property (in code behind) I get the error "Can't set the DataSource on a DataPresenter that has items added explicitly through the DataItems collection".

How can I bind my table to the xamDataGrid in this case ?

Thanks in advance

Marcos

Parents Reply Children
No Data