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
1085
Problem with Bindings in DataGrid
posted

I am having problems with the Bindings in XamDataGrid. I have an MVVM application where the Model uses a DynamicBindingProxy to bind the properties of the datacontract. This works fine with normal bindings. Using XamDataGrid i get no data at all. Also when i try to access the properties which are in the stores in DataInstance in the model i get no result. It seems to me as if when i use a "." in the Name Property of the Field Tag it does not work:

Does not Work:

<igDP:XamDataGrid.FieldLayouts>
 <igDP:FieldLayout>
   <igDP:Field Label="Login" Name="DataInstance.Login"/>
  </igDP:FieldLayout>
Works:
(
with an additional 
<igDP:XamDataGrid.FieldLayouts>
 <igDP:FieldLayout>
   <igDP:Field Label="Login" Name="Login"/>
  </igDP:FieldLayout>
public string Login { get { return DataInstance.Login; } set { DataInstance.Login = value; } }
in the model
)