We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to filter custom columns?

Thread ID:





142882 Feb 22,2019 12:13 PM UTC Feb 25,2019 11:22 AM UTC Angular 1
Tags: ejGrid
Cem Harmanci
Asked On February 22, 2019 12:13 PM UTC

Hello guys,

I have the filtering option ' allowFiltering="true" ' in the ej-grid-tag. I created a custom column, which I cannot filter. How can I filter custom columns? 

<e-column headerText="Fullname">
<ng-template e-template let-data>
<div *ngIf="data.vorname">
{{data.vorname}} {{data.nachname}}

Vignesh Natarajan [Syncfusion]
Replied On February 25, 2019 11:22 AM UTC

Hi Cem, 
Thanks for using Syncfusion products.  
Query: "How can I filter custom columns? " 
From your query, we understand that you need to filter the template column. Operations like filtering, sorting, grouping will be based on the field value of column property. From your code example we could find that you have not defined the field property to template column. So we suggest you to define the field value to column. Based on the field value column will filtered or sorted etc. 
refer the below code example 
<e-column field="vorname" headerText="Fullname"> 
            <ng-template e-template let-data> 
              <div *ngIf="data.vorname"> 
                {{data.vorname}} {{data.nachname}} 
Refer our UG Documentation note section for your reference 
Please get back to us if you have further queries.   
Vignesh Natarajan 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon