Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Slower autosize-functionality for columns

$
0
0

Hello Support-Team,

last week I updated the TrueDBGrid-control in my project from 4.0.20132.61317 to 4.0.20133.61336.
Since the next day – when my application was distributed to the users – they came back to me and ask why the system is so slow?

I figured out, that the Autosize-property of TrueDBGrid is responsible for that. I know, it took a longer time if you set autosize=true, but in earlier versions it was not that slow.

So I want to ask if there’s a big change which caused this behavior and if you see a method to speed up the whole thing.
(Reading the update-log in C1-Live-Tool shows C1-Theming as the biggest change between the two mentioned versions above…)

At the moment I use a simple loop to set the column-autosize:

For i As Integer = 0 To Me.grdSearchResults.Columns.Count – 1
Me.grdSearchResults.Splits(0).DisplayColumns(i).AutoSize()
Next

The grid holds 50.000+ rows and up to 25 columns. After loading, the records can be filtered by using the filterbar.

A short information would be welcome. Thank you.

Kind regards
Lars


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>