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

FilterBar error for UnBound Column

Thread ID:





73065 Apr 18,2008 07:03 AM UTC Apr 22,2008 10:52 AM UTC WinForms 1
Tags: GridControl
Wills Jiang
Asked On April 18, 2008 07:03 AM UTC

Hi ,

I added filterbar for griddataboundgrid,it works.

But if the grid has an unbound column(mapping name is blank),error occured.

How to solve this?


Yavanaarasi G [Syncfusion]
Replied On April 22, 2008 10:52 AM UTC

Hi Wills,

Thank you for your interest in Syncfusion products.

GridFilterBar does not work with unbound columns. The reason is that the filtering is done by the DataTable, and with an unbound column there is nothing in the DataTable about it.

So, you should handle the creatingColumnHeader event and cancel it for the unbound columns so that will not be set in the FilterBar row. Please refer the below code snippet:

private void fb_CreatingColumnHeader(object sender, GridFilterBarCreatingColumnHeaderEventArgs e)
if (e.ColName == "Unbound")
e.Cancel = true;

Here is the sample for your reference:


Please try this and let me know if this helps.



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