The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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?
ADAdministrator Syncfusion Team 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?)
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