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.

Refresh visible Bound only

Thread ID:

Created:

Updated:

Platform:

Replies:

74625 Jun 23,2008 10:36 AM Sep 19,2008 04:04 PM Windows Forms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 23, 2008 10:36 AM

Hi All,
I have application using GridControl and support real time data update. However, I find there has a performance issue if row count more than 500. I would like to know if it could only refresh the visible Grid instead of refresh the whole grid. I try to use GetVisibleBound to get the visible Grid for refresh. However, it always return the Bottom value as 483. So it doesn't help much.
Kindly to have all your advice.
Thanks
Derek


Administrator [Syncfusion]
Replied On June 23, 2008 03:15 PM

grid.TopRowIndex, grid.LeftColIndex, grid.VisibleLayout.LastVisibleRow and grid.ViewLayout.LastVisibleCol mark the boundaries of the visible cells in a GridControl.


Administrator [Syncfusion]
Replied On June 23, 2008 10:27 PM

Cool. It works


Alexei Ostrov
Replied On September 19, 2008 04:04 PM

I am trying to refresh only the visible area as well. Sometimes the FirstRowIndex returns a wrong value. In my case it is 2 instead of 1. So, even if try to refresh the range 0 to X virtual grid is still oblivious to the request. When I set it to 1 the row still does not get refreshed.
LastVisibleRow returns 0 sometimes.



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.

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.

;