Skip to main content

grid-pro.genesisgriddatasourceelement

Home > @genesislcap/grid-pro > GenesisGridDatasourceElement

GenesisGridDatasourceElement class

The base datasource element for the grid-pro element.

Signature:

export declare class GenesisGridDatasourceElement extends GenesisGridDatasourceElement_base 

Extends: GenesisGridDatasourceElement_base

Properties

Property

Modifiers

Type

Description

agGrid

protected

readonly

GridPro | null

connect

Connect

criteria

string

criteriaFromFilters

protected

Map<string, string>

datasource

Datasource

defaultRowIdByResourceType

protected

readonly

string

deferredColumnStates

ColumnState[]

deferredGridOptions

GridOptions

disablePolling

boolean

fields

string

isRequestServer

readonly

boolean

isSnapshot

boolean

maxRows

number

maxView

number

movingView

boolean

orderBy

string

pollingInterval

number

pollTriggerEvents

string[]

request

any

requestAutoSetup

boolean

Attribute to set whether the REQUEST object should be automatically set up.

resourceName

string

restartOnReconnection

boolean

Attribute to set whether the datasource should restart when it reconnects.

reverse

boolean

rowDataMapper

Function

Allows grid data updates to be processed via and external function before applying in grid

rowIdAttr

any

Attribute to set an unique identifier for the row.

Defaults to ROW_REF or RECORD_ID depending on the resource type.

update

protected

BehaviorSubject<Map<string, string>>

viewNumber

number

Methods

Method

Modifiers

Description

clearErrors()

Clears error state and emits connected event.

datasourceOptions()

protected

datasourceStatusChanged(prev, next)

handleErrors(errors, type)

Handles errors and emits appropriate error events.

removeFilter(fieldName)

setFilter(fieldName, newFilter)