Skip to main content

grid-pro.gridproserversidedatasource

Home > @genesislcap/grid-pro > GridProServerSideDatasource

GridProServerSideDatasource class

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A Genesis Datasource element, for server-side | SSRM-compatible data fetching and used exclusively by the GridPro element.

Signature:

export declare class GridProServerSideDatasource extends GridProServerSideDatasource_base 

Extends: GridProServerSideDatasource_base

Remarks

Only supports Server-Side Row Model. Requires @ag-grid-enterprise/server-side-row-model setup and valid AG Grid Enterprise license.

**Custom Sort Indicators**: This datasource automatically applies custom sort indicators that are always visible (instead of only on hover). Sortable columns will show a subtle sort icon even when not sorted, and active sort indicators will be more prominent. The custom styling uses AG Grid's native icon font for consistency with the grid theme.

Properties

Property

Modifiers

Type

Description

applyAsyncFuncName

string

(BETA)

applyFuncName

string

(BETA)

liveUpdates

boolean

(BETA) Enable live updates for the grid.

params

readonly

any

(BETA)

request

any

(BETA)

rowModel

readonly

IServerSideRowModel

(BETA)

zeroBasedViewNumber

boolean

(BETA) The starting VIEW_NUMBER of the data to be fetched.

Methods

Method

Modifiers

Description

applyTransaction(agTransaction)

(BETA)

applyTransactionAsync(agTransaction, callback)

(BETA)

connectedCallback()

(BETA)

criteriaChanged(oldCriteria, newCriteria)

(BETA)

deepClone()

(BETA)

destroy()

(BETA)

disconnectedCallback()

(BETA)

init()

(BETA)

loadMore()

(BETA)

onPaginationChanged(event)

(BETA)

reloadResourceData(params)

(BETA) Resets the grid data while keeping columnDefs and reloads data.

resourceNameChanged(oldValue, newValue)

(BETA)

restart()

(BETA)