If a grid contains massive data, it will be an expensive operation to retrieve all data at once. Because the operation will consume a large number of memory and network bandwidth to store and transfer the data. BTT provides pagination support on both browser-side and server-side. So massive data can be separated into multiple parts, and each part can be retrieved at different time.
If “isPageable” attribute of a grid widget is selected as true, the BTT pagination function will be enabled, and grid attributes for pagination are required for definition.
At runtime, when one of pagination widgets is selected in browser, an Ajax pagination request will be sent to the server side. And then BTT server operation will retrieve the data according to pagination parameter and send back to browser.
On server side, BTT invokes two server operations to handle a pagination request:
Technical pagination operation is implemented by BTT product or technical application developers. The operation is responsible for:
Business pagination operation is implemented by functional application developer. The operation is responsible to retrieve business data according to pagination parameters
The following diagram demonstrates the relationship of technical pagination operation and business pagination operation.