Hello,
I'm creating datagrid with dynamically created columns. The ViewModel looks like:
And I create columns this way:
I had some problems - sorting (fixed by custom ICollectionView link) but now I have issue with filtering. When i try to filter, grid becomes empty. And also I cannot see list with checkboxes to select desired values (like for normal column bound to string property).
Is there anything I can do with that? ICollectionView has filter property, but it's not used in Telerik Datagrid (?).
I'm creating datagrid with dynamically created columns. The ViewModel looks like:
public string this[Guid column]
{
get { ....}
set { ... }
}And I create columns this way:
GridViewDataColumn col = new GridViewDataColumn();<br>col.Header = c.Column.Name;<br>col.DataMemberBinding = new Binding(String.Format("[{0}]", c.Column.Id)) { FallbackValue = null };
col.ColumnGroupName = g.Header;this.Columns.Add(col);I had some problems - sorting (fixed by custom ICollectionView link) but now I have issue with filtering. When i try to filter, grid becomes empty. And also I cannot see list with checkboxes to select desired values (like for normal column bound to string property).
Is there anything I can do with that? ICollectionView has filter property, but it's not used in Telerik Datagrid (?).