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.

GridGroupingControl GetRecordCount

Thread ID:

Created:

Updated:

Platform:

Replies:

30646 Jun 21,2005 10:41 AM Jun 21,2005 11:14 AM Windows Forms 1
loading
Tags: GridControl
Ross Prestmo
Asked On June 21, 2005 10:41 AM

Hi, I''ve found that the grid.Table.GetRecordCount() method returns 0 when it is called soon after filling a grid (using a data Adapter), even when I know that records are returned. I''m probably checking it too quickly ... is there some call I can make to "synchronize" the internal state of the grid before calling for the count? Thanks. Ross.

Administrator [Syncfusion]
Replied On June 21, 2005 11:14 AM

If you reference a table variable directly, it should trigger the initialization. int count = grid.Table.Records.Count;

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.

;