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

connectionSub

protected

Subscription | undefined

dataSubWasLoggedOff

protected

boolean

keepColDefsOnClearRowData

boolean

pagination

protected

boolean

rowData

Map<string, any>

transactionData

protected

TransactionData

Methods​

Method

Modifiers

Description

applyAllTransactions()

protected

applyTransaction(transaction)

protected

destroy()

generateColumnDefsFromMetadata(fieldsMetadata, getFilterParamsByFieldType, getFilterByFieldType)

protected

getDatasourceStatusBarPanels(isServerSide, statusBarConfig)

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 datasource is disconnected.

loadMore()

reloadResourceData()

restart()

setDisconnected(disconnected)

Sets the disconnected state and emits appropriate events.

subscribeToConnection()

protected

unsubscribeFromConnection()

protected