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
Customize Filtering operand and problematic behavior on child filter

Hi, I have a control with a XamGrid which datasource is a class containing some properties and a collection of classes, the classes are:


     Title (string)

     Notes (string)

     Comments (string)

     SlidesData (observable collection of SlideContent)


     Content (string)

I can set the grid to show correctly everything using TextColumn for the single properties, I've also set filters for all columns.

However, if I want to customize the Filter Operand for the columns, I've seen that I need to set a Template column instead.

But when I put a template column instead of a TextColumn the Filter ceases to function, I can write whatever I like and the filter does not filter.

So my question is What is wrong in my Template Column that the filter does not work?

These are the columns definitions:

    <ig:TextColumn Key="Title" HeaderText="Title" IsReadOnly="True"
    <ig:TextColumn Key="Notes" HeaderText="Notes}" IsReadOnly="True"
    <ig:TextColumn Key="Comments" HeaderText="Comments" IsReadOnly="True"

    <ig:ColumnLayout Key="SlidesData">
      <ig:TemplateColumn  Key="Content"  HorizontalContentAlignment="Stretch"
         <ScrollViewer FlowDirection="LeftToRight" Margin="0">
         <TextBox Text="{Binding Content}" TextWrapping="Wrap" />
        <ig:FilterColumnSettings  >



And this is the grid filtering settings:

    <ig:FilteringSettings FilteringScope="ChildBand" AllowFiltering="FilterRowTop" FilterRowHeight="22"   />

The filter on the child band does not apply and also it shows the Default value for the Content property in the filter cell.

If you have any clue

thank you in advance

  • 138253
    Offline posted

    Hello Sabrina,

    Thank you for your post. I have been looking into it and I can say that you need to define ‘FilterEditorTemplate’ and ‘FilterItemTemplate’ for the TemplateColumn like it is explained here:

    I created a sample project for you with this approach. Please let me know if this helps you or you have further questions on this matter.

    Looking forward for your reply.
  • 138253
    Offline posted



    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.