I'm trying to bind DXGrid control to an IList. Though binding works perfectly fine some other features of the grid are not working like those of Auto filter row, and In-line editing.
<dxg:GridControl x:Name="grid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DataSource="{Binding Path=Model, UpdateSourceTrigger=PropertyChanged}">
<dxg:GridControl.View>
<dxg:GridColumnView x:Name="gridView" AllowEditing="True" AllowFilter="True" ShowAutoFilterRow="True" AutoWidth="True" ShowGroupPanel="False" />
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="CountryCode"/>
<dxg:GridColumn FieldName="CountryName" AutoFilterCondition="Like"/>
<dxg:GridColumn FieldName="CurrencyCode"/>
<dxg:GridColumn FieldName="CurrencyName"/>
<dx开发者_如何学Gog:GridColumn FieldName="Active"/>
</dxg:GridControl.Columns>
What is the best option to bind/edit data using DXGrid and MVVM?
you might consider binding against an implementation of ICollectionView. A very good blog post describing the interface can be found here.
精彩评论