SuspendLayout

I need to refresh a grid every minute or so (with an internal timer). When the refresh is done, in the backgroup... the number of columns changes. I've tried using the .SuspendLayout and .ResumeLayout so that the recreation of every column is not visible to the user. But I still can see every column being created one after the other. Is there something I can do?

2 Replies

AD Administrator Syncfusion Team November 26, 2002 01:39 PM UTC

You might sandwiching your updates between GridControl.BeginUpdate and GridControl.EndUpdate to see if that resolves this problem for you.


PC Pascal Couture November 26, 2002 01:47 PM UTC

Thanks... it worked!

Loader.
Up arrow icon