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.
Unfortunately, activation email could not send to your email. Please try again.

GridDataBoundGrid Refresh problem when filtering changes

Thread ID:

Created:

Updated:

Platform:

Replies:

26369 Mar 22,2005 04:05 AM Mar 22,2005 04:53 PM Windows Forms 2
loading
Tags: GridControl
Asked On March 22, 2005 04:05 AM

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 06:16 AM

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 04:53 PM

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

CONFIRMATION

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.

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.

;