|
FlexCel Studio for VCL/LCL
|
Occurs when the FlxMemTable component needs to know how many records it has.
property OnVirtualRecordCount: TOnVirtualRecordCountEvent;
__property TOnVirtualRecordCountEvent OnVirtualRecordCount;
If you assign this event and the OnGetData one, you enter Virtual mode.
In virtual mode, you need to tell the dataset the number of records your virtual table has with this event.
Look at the example in OnGetData.
Note: This event might be called more than once, so if counting records is a slow operation (for example if your data structure is a linked list), it is advisable to cache this result.
|
Copyright (c) 2002-2008 TMS Software. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|