API REFERENCE
SyGridPinnedRowsResult
Fields, allowed values, and APIs that use SyGridPinnedRowsResult.
Type definition
A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.
export interface SyGridPinnedRowsResult<TData = GridData> {
readonly status: 'applied' | 'unchanged' | 'refused';
readonly changes: ReadonlyArray<SyGridPinnedRowChange<TData>>;
readonly rejected: ReadonlyArray<SyGridPinnedRowRejection>;
readonly top: ReadonlyArray<GridRowId>;
readonly bottom: ReadonlyArray<GridRowId>;
}APIs using this type
- setPinnedRows
Sets top/bottom pinned row data and returns the application result.