API REFERENCE
applyServerSideTransactionAsync
Queues a server row transaction asynchronously. Queue acceptance differs from final application.
What does this API do?
Queues a server row transaction asynchronously. Queue acceptance differs from final application.
API for Pro features: Server-Side Row Model
Exact input and result types
applyServerSideTransactionAsync(transaction: SyGridServerTransactionInput, onSettle?: (settlement: SyGridServerTransactionSettlement) => void): Promise<SyGridServerTransactionEnqueue>| Arguments | Required | Type |
|---|---|---|
| transaction | Required | SyGridServerTransactionInput |
| onSettle | Optional | (settlement: SyGridServerTransactionSettlement) => void |
The return type is Promise<SyGridServerTransactionEnqueue>.
Usage flow
After registering and initializing the Grid element, call grid.applyServerSideTransactionAsync(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Read related types
Feature explanations and examples
- Server-side row model
In this model, the server calculates grouping and pivots and supplies rows for each expanded group path. Its data responsibilities differ from grouping already loaded local rows with groupBy.