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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Refresh visible Bound only

Thread ID:

Created:

Updated:

Platform:

Replies:

74625 Jun 23,2008 02:36 PM UTC Sep 19,2008 08:04 PM UTC WinForms 3
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 23, 2008 02:36 PM UTC

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 07:15 PM UTC

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 24, 2008 02:27 AM UTC

Cool. It works


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

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.

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

;