DelayedRecordsRendering

Properties

2
isDelayedRecordsRendering: Boolean= truereadonly
Identifies an object as an instance of DelayedRecordsRendering class, or subclass thereof.
isDelayedRecordsRendering: Boolean= truereadonlystatic
Identifies an object as an instance of DelayedRecordsRendering class, or subclass thereof.

Functions

2

Schedules the provided record row refresh.

ParameterTypeDescription
recordsModel

Record to refresh the row of.

Cancels scheduled rows refresh.

ParameterTypeDescription
clearRecordsModel | Model[] | Boolean

true to also clear the list of records scheduled for refreshing. false will result only canceling the scheduled call and keeping intact the list of records planned for refreshing.

Events

1

This event fires when records which rendering was previously scheduled is finally done.

// Adding a listener using the "on" method
delayedRecordsRendering.on('scheduledRecordsRender', ({ source, records, rows }) => {

});
ParameterTypeDescription
sourceGrid

The component.

recordsModel[]

Rendered records.

rowsRow[]

Rendered rows.

Event handlers

1

This event called when records which rendering was previously scheduled is finally done.

new DelayedRecordsRendering({
    onScheduledRecordsRender({ source, records, rows }) {

    }
});
ParameterTypeDescription
sourceGrid

The component.

recordsModel[]

Rendered records.

rowsRow[]

Rendered rows.