Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TGrid - Performance
Sat, May 11 2013 9:37 PMPermanent Link

Rick

I have an unfortunate requirement to display a TGrid with a "large"
number of columns and rows (100 x 360 minimum). This results in
performance problems during grid creation especially in IE.

I could implement a dynamic approach and only add cols/rows as the user
scrolls (haven't tried this) but even then column resizing performs
fairly slowly with lots of lag. Resizing the grid during runtime is also
slow.

I tried BeginUpdate/EndUpdate at the form level which helpd a bit but
there doesn't seem to be an equivalent for the grid component itself
although I may have missed it.

The spreadsheet app in google docs seems to be able to manage a sizable
grid without major performance issues so perhaps I'm missing something.

Is there some way of quickly building and maintaining a "large" TGrid?

--
Rick
Tue, May 14 2013 12:22 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Rick,

<< Is there some way of quickly building and maintaining a "large" TGrid? >>

Unfortunately, no.  What is really needed is virtualization of the grid,
which is something that is coming soon, but not in 1.02.  It will appear in
conjuction with some necessary changes in the scroll bars/theming in
(probably) 1.03 or 1.04.

Tim Young
Elevate Software
www.elevatesoft.com
Image