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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GDI question

Thread ID:

Created:

Updated:

Platform:

Replies:

24841 Feb 11,2005 01:59 PM UTC Feb 11,2005 08:31 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 11, 2005 01:59 PM UTC

Stefan Since you''re the guru, i have a special question : When i update the grid twice per second (only refreshing a few cells) the CPU is consuming 30% How the GDI option affect the result ? I can''t figure why it consumes so much CPU Benje

Administrator [Syncfusion]
Replied On February 11, 2005 08:31 PM UTC

GDI won''t help much - this is just for getting the final bits of performance out of the grid. Make sure you use the right methods to change data in the grid, e.g. use SetCellInfo instead of Model[row, col].CellValue. One high performance sample is also the RefreshGrid. It replaces the volatile data container with an optimized version that relies less on GC for data where you don''t need thousands of rows. The OneTimeQueryCellInfo might also be of interest if you don''t need QueryCellInfo be called repeatedly. Stefan >Stefan > >Since you''re the guru, i have a special question : >When i update the grid twice per second (only refreshing a few cells) the CPU is consuming 30% > >How the GDI option affect the result ? > >I can''t figure why it consumes so much CPU > >Benje

CONFIRMATION

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.

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

;