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

Performance Issues with ColWidths.ResizetoFit and RowHeights.ResizeToFit

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

1 Reply

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

Live Chat Icon For mobile
Up arrow icon