Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
How can I improve performance?
posted

I'm using UltraGrid with 20000 columns.

Sample Attached.

Is there another solution to improve this.

WindowsFormsApplication4.zip
Parents
No Data
Reply
  • 69832
    Offline posted

    I can't think of a use case where the user would be presented with a grid containing 20,000 columns in one band. If you could shed some light on your application requirements and why you would have that many columns in one band, we might be able to help recommend a different solution.

    The only thing I saw that might get you a performance boost is in the UltraDataSource.CellDataRequested handler, where you are concatenating the column key and row index to create a data key. Concatenating strings in this manner is inefficient as it causes heap fragmentation - in cases like this you should use a StringBuilder instead.

Children