Gets or sets the number of records to request when requesting records from OpenLook. Default is 100.
object.BlockSize = [integer]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and integer is the number of records requested each time a block of records is requested from OpenLook.
Newlook Smartclient
Newlook Server
OpenAccess-enabled controls only.
This property only applies to OpenLook-enabled subfiles.
It determines the additional download size whenever there is a subsequent request to OpenLook (i.e. as the user scrolls down).
A large BlockSize number may have an impact on the speed of grid scrolling.
If the LoadAllRecords property is True, Newlook will load all records but it will request and load the records in batches of the size specified in BlockSize.
If the LoadAllRecords property is False, Newlook will only load the number specified in BlockSize. Clicking the Next Page button below the datagrid will load the next batch of records in the grid. The number of records per page will be dictated by the value of BlockSize.
It is worth noting that the number of records requested may not always equal the number of records returned. There may not be that many records or the user may scroll to a different part of the datagrid and a new block of records will begin loading.
An Openlook license is required to use this functionality.
LoadAllRecords Property | OnAllRecordsLoaded property
© 2004-2021 looksoftware. All rights reserved.