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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Filter on unbound column

Thread ID:





121011 Nov 3,2015 04:05 AM UTC Nov 5,2015 05:21 AM UTC JavaScript 3
Tags: ejGrid
Jim Woods
Asked On November 3, 2015 04:05 AM UTC

Is there a way to filter on an unbound column with a template?   The filter box appears, but no values are present (the other columns work fine.  Is there something more I have to do to get filtering to work.

Here is an example of my grid:

"dataSource": source,
            allowFiltering: true,
            filterSettings: { filterType: "excel" },         

            columns: [
 { field: "GroupLayer", template: true, templateID: "#GroupNameTemplate", headerText: "Group Name", textAlign: ej.TextAlign.Right, type: "string" },
                    { field: "ApplicationID", headerText: "Application ID", width: 80, textAlign: ej.TextAlign.Right, type: "number" },
                    { field: "Description", headerText: "Application Name", width: 80, textAlign: ej.TextAlign.Right, type: "string" },

Sellappandi Ramu [Syncfusion]
Replied On November 4, 2015 06:28 AM UTC

Hi Jim Woods,

Thanks for contacting Syncfusion support.

When using template column with field, the filter operation will perform based on the field value.

Please share the following information to us for short out the cause of the issue and provide prompt solution.

1.       In your sample you have used “GroupLayer” as field name. Check whether data source has “GroupLayer” field with data?
2.       Code snippet of the template or issue reproducing sample.
3.       Screen shot of the dataSource which is bound in grid. Refer the attached screen shot,

We have created a sample based on your code snippet and tested it our end. But filtering is working fine.

Please refer the following online playground sample.

Sample Link: http://jsplayground.syncfusion.com/j1wsar4x

Sellappandi R

Jim Woods
Replied On November 4, 2015 08:53 PM UTC

Thank you for your help.  My template column field value "GroupLayer" was not included in the datasource.  Once I corrected this, filtering worked fine.

Thank you,

Sellappandi Ramu [Syncfusion]
Replied On November 5, 2015 05:21 AM UTC

Hi Jim Woods, 

We are happy that the provided suggestion helped you. 

Please get back to us if you need any further assistance.  


Sellappandi R


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