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

GridDataBoundGrid Refresh problem when filtering changes

Thread ID:





26369 Mar 22,2005 09:05 AM UTC Mar 22,2005 09:53 PM UTC WinForms 2
Tags: GridControl
Asked On March 22, 2005 09:05 AM UTC

Hi, I have a GridDataBoundGrid component with a filter row. One of the columns is defined as ComboBox. Here is my problem: I filter the grid, so that the first row is not visible anymore, and update the combobox field of the new first row. When I remove the filtering, the value I selected of the combo box is displayed on both the first(previously hidden) and the second row(the one I updated). When i click on any row other then the first one, it is back to normal again. It seems to be a refresh problem, and I did try refreshing but it didn''t work. Any suggestions?

Administrator [Syncfusion]
Replied On March 22, 2005 11:16 AM UTC

Did you try calling this.gridControl1.CurrentCell.Refresh()? If not, try that. When you say remove the filter, you mean setting the filter condition to none correct? (You do not mean actually removing the filter bar do you?)

Replied On March 22, 2005 09:53 PM UTC

I tried that, but it didn''t work. And by removing the filtering I meant set filtering condition to none. But i did find a solution. I realized that the grid was still in edit mode when I drop down the filter combo box, and probably that was creating the problem. So I added grid.Binder.EndEdit() at grid''s CurrentCellShowingDropDown event when the selected row is the filter row. Thanks


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