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.

No subject

Thread ID:

Created:

Updated:

Platform:

Replies:

1281 Oct 10,2002 09:41 AM Oct 10,2002 12:11 PM Windows Forms 1
loading
Tags: GridControl
robert bergelson
Asked On October 10, 2002 09:41 AM

When using the grid with a "virtual model", how do you get the grid to recognize that the column and row counts have changed ? I have overridden the QueryColCount and QueryRowCount event handlers, but what is it that forces the underlying events to fire ?

Administrator [Syncfusion]
Replied On October 10, 2002 12:11 PM

Normally, when there is new data to display, you just redraw the grid by calling Refresh() or RefreshRange() or Invalidate. This forces the grid to request the new data when it draws. So, if your external data changes column 2, then you can call gridControl1.Refresh(GridRangeInfo.Col(2)); to have the grid redraw column 2 using the new data. If you do something like change the number of rows and columns, you may also have to call ResetVolatileData(); as these values may get cached.

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.

;