RevGrid - v0.9.3
    Preparing search index...
    interface NotificationsClient<SF extends RevSchemaField> {
        allFieldsDeleted: (this: void) => void;
        beginChange: (this: void) => void;
        endChange: (this: void) => void;
        fieldsDeleted: (this: void, fieldIndex: number, fieldCount: number) => void;
        fieldsInserted: (
            this: void,
            fieldIndex: number,
            fieldCount: number,
        ) => void;
        getActiveSchemaFields: (this: void) => readonly SF[];
        schemaChanged: (this: void) => void;
    }

    Type Parameters

    Index

    Properties

    allFieldsDeleted: (this: void) => void
    beginChange: (this: void) => void
    endChange: (this: void) => void
    fieldsDeleted: (this: void, fieldIndex: number, fieldCount: number) => void

    Notifies that one or more fields have been deleted from the schema

    fieldsInserted: (this: void, fieldIndex: number, fieldCount: number) => void

    Notifies that one or more fields have been inserted into the schema

    getActiveSchemaFields: (this: void) => readonly SF[]
    schemaChanged: (this: void) => void

    Notifies schema has changed.

    Try to use fieldsInserted, fieldsDeleted, allFieldsDeleted callbacks instead of schemaChanged callback. These provide better optimisations and control of selection.