views:

9

answers:

0

I am using XCeed DataGrid for WPF v4.0.

Is it possible to add FilterCell for each value in string array present inside following class ?

class DataGridRow
{
public int EmployeeId { get; set; } 
public string[] EmployeeFeatures{ get; set; }
}

Essentially I wish to see the FilterCell for EmployeeFeatures[0], EmployeeFeatures[1] ...EmployeeFeatures[n]

I have tried the Xaml given below. It shows the FilterCell but actually does not filter the rows as per filter criterion

<xcdg:FilterCell FieldName="EmployeeId" Template="{StaticResource FilterCellStyle}" IsEnabled="True" Style="{DynamicResource FilterCellTextBoxStyle}"/>
<xcdg:FilterCell FieldName="EmployeeFeatures[0]" Template="{StaticResource FilterCellStyle}" IsEnabled="True" Style="{DynamicResource FilterCellTextBoxStyle}"/>
<xcdg:FilterCell FieldName="EmployeeFeatures[1]" Template="{StaticResource FilterCellStyle}" IsEnabled="True" Style="{DynamicResource FilterCellTextBoxStyle}"/>
<xcdg:FilterCell FieldName="EmployeeFeatures[...and so on...]" Template="{StaticResource FilterCellStyle}" IsEnabled="True" Style="{DynamicResource FilterCellTextBoxStyle}"/>

Any kind of help would be appreciated!

Thanks in advance.