BestFitColumns Method Performance

2 posts, 1 answers
  1. Gohar
    Gohar avatar
    9 posts
    Member since:
    Dec 2015

    Posted 17 Dec 2015 Link to this post

    My GridView has 112 columns and the method BestFitColumns() takes 2.1 seconds. Do you have another method to do the same with higher speed?
  2. Answer
    Hristo Merdjanov
    Hristo Merdjanov avatar
    674 posts

    Posted 21 Dec 2015 Link to this post

    Hi Gohar,

    Thank you for writing.

    Best fitting the columns is a complex operation requiring measurement of all the data in the grid. When dealing with columns, as in your scenario, it may take time before the grid refreshes with the adjusted widths.

    In our Q3 2015 release, we have improved this performance: Feedback Item. If it is possible please upgrade your version of the suite.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top