• Private

    Utility for helping determine the percieved order of a set of columns given the original (default) ordering, and then user-configurations.

    This function adds missing columns but preserves extra columns in the map (they might be hidden, not deleted).

    Parameters

    • columns: { key: string }[]
    • currentOrder: Map<string, number>

    Returns Map<string, number>