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

Clear Filter in DataBoundGrid

Thread ID:





49818 Sep 27,2006 04:34 PM UTC Sep 28,2006 05:23 AM UTC WinForms 1
Tags: GridControl
Asked On September 27, 2006 04:34 PM UTC

How do i programatically remove user selected filter from DataBoundgrid.

I have used Filterbar to allow users to select rows.


Administrator [Syncfusion]
Replied On September 28, 2006 05:23 AM UTC


To restore the grid without any filter, you need to set the RowFilter property to null or string.Empty. Below is a code snippet

DataView dv = (this.grid.DataSource as DataTable).DefaultView;

dv.RowFilter = null;


filterBar.RowFilter = null;



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

or the page will be automatically redirected to 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