Grid jumps around when record filter is set

Hi,

I am using grouping grid control V4.2.0.60 in a windows .NET application.
To filter records displayed in the grid, I am using Add method of RecordFilterDescriptorCollection. When I add a filter to the grid, the grid seems to scroll to the top and then return back to the selected row. This is causing an annoying flicker on the screen.
Could you please provide a suitable solution to this problem?

Regards,
Kevin

1 Reply

HA haneefm Syncfusion Team March 29, 2007 06:02 PM UTC

Hi Kevin,

Please try filtering the grid with BeginUpdate() and EndUpdate() to reduce the flickering.See if this helps.

this.gridGroupingControl1.BeginUpdate();
this.gridGroupingControl1.SuspendLayout();

this.gridGroupingControl1.TableDescriptor.RecordFilters.Add("[School] LIKE 'Duke'");

this.gridGroupingControl1.ResumeLayout(true);
this.gridGroupingControl1.EndUpdate(true);

Best regards,
Haneef

Loader.
Up arrow icon