Skip to main content

grid-pro.gridprobasedatasource

Home > @genesislcap/grid-pro > GridProBaseDatasource

GridProBaseDatasource class

Signature:

export declare class GridProBaseDatasource extends GenesisGridDatasourceElement 

Extends: GenesisGridDatasourceElement

Properties

Property

Modifiers

Type

Description

agTransaction

protected

RowDataTransaction | ServerSideTransaction

applyAsyncFuncName

protected

string

applyFuncName

protected

string

connectionSub

protected

Subscription | undefined

dataSubWasLoggedOff

protected

boolean

pagination

protected

readonly

boolean

rowData

Map<string, any>

Methods

Method

Modifiers

Description

applyAllAgTransactions()

protected

applyTransaction(agTransaction)

protected

applyTransactionAsync(agTransaction, callback)

protected

destroy()

generateColumnDefsFromMetadata(fieldsMetadata, getFilterParamsByFieldType)

protected

getDatasourceStatusBarPanels(isServerSide)

Gets datasource-specific status bar component configurations. This method should be called by the grid to get status bar panels specific to this datasource.

handleStreamDeletes(deletedRows)

protected

handleStreamInserts(insertedRows, addIndex)

protected

handleStreamUpdates(updatedRows)

protected

isDisconnected()

Returns true if the grid has the ds-disconnected attribute.

loadMore()

reloadResourceData()

restart()

setDisconnected(disconnected)

Sets or removes the ds-disconnected attribute on the grid element.

subscribeToConnection()

protected

unsubscribeFromConnection()

protected