We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Performance Issues with ColWidths.ResizetoFit and RowHeights.ResizeToFit

Thread ID:

Created:

Updated:

Platform:

Replies:

6394 Aug 11,2003 03:44 PM Aug 11,2003 03:55 PM Windows Forms 1
loading
Tags: GridControl
ERobishaw
Asked On August 11, 2003 03:44 PM

In a grid with 70 rows, 9 columns, it takes 3 seconds (1.5 each) to do ResizeToFit on the ColWidths and RowHeights for the Grid. Which is too long to make my users wait. Is there anyway to speed that up? Would I be better off doing those routines myself? If I were to try, can anyone give me a basic framework to begin doing that? Thanks Eric Robishaw

ERobishaw
Replied On August 11, 2003 03:55 PM

Found a fix....instead of using GridRangeInfo.Table(), I'm just using what I know to be the widest column for the ColWidths.ResizeToFit() as well as the rowHeight.ResizeToFit()

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;