8 Jan 20181 minute to read

Filtering is one of the key features of ListView control. The Filtering option is added into the ListView control when the EnableFiltering property is set to “true”. This enables a simple interface to filter items from a large collection of ListView items.

Refer the following code examples.

  • HTML
  • <ej:ListView ID="ListView1" runat="server" Height="450" Width="400" EnableFiltering="true" >
                <ej:ListViewItems Text="Artwork"></ej:ListViewItems>
                <ej:ListViewItems Text="Abstract"></ej:ListViewItems>
                <ej:ListViewItems Text="2 Acrylic Mediums"></ej:ListViewItems>
                <ej:ListViewItems Text="Creative Acrylic"></ej:ListViewItems>
                <ej:ListViewItems Text="Modern Painting"></ej:ListViewItems>
                <ej:ListViewItems Text="Canvas Art"></ej:ListViewItems>
                <ej:ListViewItems Text="Black white"></ej:ListViewItems>
                <ej:ListViewItems Text="Children"></ej:ListViewItems>
                <ej:ListViewItems Text="Preschool Crafts"></ej:ListViewItems>
                <ej:ListViewItems Text="School-age Crafts"></ej:ListViewItems>


    Before Filtering

    After Filtering