Interface IServerData

interface what the server side has to provide

interface IServerData {
    mappingSample(column): Promise<number[]>;
    search(search, column): Promise<number[]>;
    sort(ranking): Promise<IndicesArray>;
    view(indices): Promise<any[]>;
}

Methods

  • returns a sample of the values for a given column

    Parameters

    • column: any

    Returns Promise<number[]>

  • return the matching indices matching the given arguments

    Parameters

    • search: string | RegExp
    • column: any

    Returns Promise<number[]>

  • returns a slice of the data array identified by a list of indices

    Parameters

    • indices: number[]

    Returns Promise<any[]>