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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Performance Issues with ColWidths.ResizetoFit and RowHeights.ResizeToFit

Thread ID:





6394 Aug 11,2003 07:44 PM UTC Aug 11,2003 07:55 PM UTC WinForms 1
Tags: GridControl
Asked On August 11, 2003 07:44 PM UTC

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

Replied On August 11, 2003 07:55 PM UTC

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()


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon