Hello Pragati,
thanks for your reply!
I couldn’t get your sample to run. But I viewed code and it was conceptionally build like my procedure.
The hint with SuspendLayout and ResumeLayout was great – exactly what I’m searching for.
But in my project it makes no difference. Duration of build-up procedure is nearly the same.
For example I do 3 runs with and without combination of SuspendLayout/ResumeLayout:
With: 11.73, 11.63, 11.59 seconds
Without: 11.62, 11,59, 11.76 seconds
at 94106 rows and 14 cols
I thought SuspendLayout/ResumeLayout do the same speed-up like BeginUpdate/EndUpdate in Flexgrid but that’s not the fact.
Furthermore in SuspendLayout-mode you can see the horizontal scrollbar moving when columns are autosized. So I think the grids layout-logic isn’t really suspended.
Maybe I’m completely wrong…
Kind regards
Lars