RevGrid - v0.10.0
    Preparing search index...

    Interface representing a schema server.

    interface RevSchemaServer<SF extends RevSchemaField> {
        getFields(): readonly SF[];
        subscribeSchemaNotifications(
            client: RevSchemaServer.NotificationsClient<SF>,
        ): void;
        unsubscribeSchemaNotifications(
            client: RevSchemaServer.NotificationsClient<SF>,
        ): void;
    }

    Type Parameters

    • SF extends RevSchemaField

      The type of schema field used to specify the field columns.

      Client grid uses this interface to retrieve the schema fields which are the field columns in the grid. It also uses it to get notified about changes to the schema.

    Implemented by

    Index

    Methods

    • Get list of fields.

      The order of these fields defines the orders of field columns in Columns Manager.

      Returns readonly SF[]