RevGrid - v0.10.0
    Preparing search index...

    The central class for managing the structure, visibility, sizing, and settings of columns in the grid, ensuring that the grid view and data schema remain synchronized.

    Type Parameters

    Implements

    Index

    Properties

    clientId: string

    A unique string allowing you to identify different instances

    getSettingsForNewColumnEventer: RevColumnsManager.GetSettingsForNewColumnEventer<
        BCS,
        SF,
    >
    gridSettings: RevOnlyGridSettings
    internalParent: RevClientObject

    The parent of an object allowing you to easily navigate during debugging

    schemaServer: RevSchemaServer<SF>

    Accessors

    • get activeColumnCount(): number

      Returns number

    • get fieldColumnCount(): number

      Returns number

    Methods

    • Parameters

      • widenOnly: boolean

      Returns void

    • Returns number

      The total width of all the fixed columns.

    • Returns number

      The number of fixed columns.

    • Returns readonly SF[]

    • Parameters

      • activeColumnIndex: number
      • ui: boolean

      Returns void

    • Parameters

      • indexesAreActive: boolean
      • columnIndexOrIndices: undefined | number | number[]
      • ui: boolean

      Returns void

    • Parameters

      • activeColumnIndex: number

      Returns boolean

    • Parameters

      • fromIndex: number
      • toIndex: number
      • ui: boolean

      Returns void

    • Parameters

      • value: boolean

      Returns void

    • Parameters

      • indexesAreActive: boolean

        If true, then column indices specify active column indices. Otherwise field column indices

      • columnIndexOrIndices: undefined | number | number[]

        A column index or array of indices. If undefined then all of the columns as per isActiveColumnIndexes

      • insertIndex: undefined | number

        Set to undefined to add new active columns at end of list. Set to -1 to hide specified columns

      • allowDuplicateColumns: boolean

        If true, then if an existing column is already visible, it will not be removed and duplicates of that column will be present

      • ui: boolean

        Whether this was instigated by a UI action

      Returns void

    • swap source and target columns

      Parameters

      • source: number

        column index

      • target: number

        column index

      Returns void