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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

No subject

Thread ID:





1281 Oct 10,2002 01:41 PM UTC Oct 10,2002 04:11 PM UTC WinForms 1
Tags: GridControl
robert bergelson
Asked On October 10, 2002 01:41 PM UTC

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 04:11 PM UTC

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.


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

Live Chat Icon For mobile
Live Chat Icon