Skip to main content

interface TableCreators

undocumented

Methods

createContext

Returns a new Table context instance based on the given options.

Definition

createContext<UR, UC>(options: {
    rowContext: RMap.Context<UR>;
    columnContext: RMap.Context<UC>;
  }): Table.Context<UR, UC>;

Type parameters

NameDescription
URthe upper row key type for which the context can create instances
UCthe upper column key type for which the context can create instances

Parameters

NameTypeDescription
options{
    rowContext: RMap.Context<UR>;
    columnContext: RMap.Context<UC>;
  }
an object containing the following properties:
- rowContext - the map context to use to map row keys to columns
- columnContext - the map context to use to map column keys to values