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

GridGroupingControl GetRecordCount

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.

1 Reply

AD Administrator Syncfusion Team June 21, 2005 10:14 AM

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

Loader.
Live Chat Icon For mobile
Up arrow icon