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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Improving custom cell performance

Thread ID:





77160 Oct 16,2008 08:54 PM UTC Oct 21,2008 07:16 AM UTC WinForms 3
Tags: GridControl
Tim Mostad
Asked On October 16, 2008 08:54 PM UTC

I have implenented a custom cell type in the GridControl. If I accesss two different properties for that cell, like:

If customCell.property1 = True AndAlso customCell.property2 = False then Exit Sub

This causese two access to the StyleInfoPropertyStore. Is there a way to cache the access to the SIP store so that the seond access is quicker?

Nisha Arockiya A [Syncfusion]
Replied On October 17, 2008 07:19 AM UTC

Hi Tim,

Thanks for your interest in Syncfusion Products.

On checking a sample application in different versions we were able to find the performance going down in all versions, the reason being you are trying to set the style properties for the cells in grid by indexing the row and colindex. The recommonded way is to use the QueryCellInfo event to set the style properties for the desired cells instead of indexing large amount of cells to set style properties.

Please let me know if this solves the issue.


Tim Mostad
Replied On October 17, 2008 08:13 PM UTC

I am confused by your response. While changing the way I write the properties for my custom cells might make a difference, I do it so rarely that it will probably be almost nothing compared to the example I asked about.

What I want to know is if there is a way to speed up read performance and as far as I know the method you describe won't affect that. Or if it does then explain to me how? Otherwise I would appreciate an answer to the question I asked. Thanks.

Nisha Arockiya A [Syncfusion]
Replied On October 21, 2008 07:16 AM UTC

Hi Tim,

Thanks for the updates.

Are you accessing any fields using GridModel??If so, try using GridData which improves the performance significantly.

Please provide a sample reproducing this issue if this doesnt serves your need.



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