Angara.Table


TableViewSettings

Namespace: Angara.Data

Record Fields

Record FieldDescription
CustomFormatters
Signature: Map<string,string>
DefaultPageSize
Signature: PageSize
DefaultTab
Signature: TableViewerTab
HideNaNs
Signature: bool

Static members

Static memberDescription
Create(...)
Signature: (defaultTab:TableViewerTab * defaultPageSize:PageSize * hideNaNs:bool * customFormatters:IDictionary<string,string>) -> TableViewSettings

Create TableViewSettings. customFormatters if an IDictionary where keys are names of corresponding table columns and values are bodies of javascript functions x -> string performing the desired formatting e.g. "return x.toFixed(2);" Note, that the name of the formal parameter passed into this function is always "x"

Create(...)
Signature: (defaultTab:TableViewerTab * defaultPageSize:PageSize * hideNaNs:bool * customFormatters:Map<string,string> option) -> TableViewSettings

Create TableViewSettings. customFormatters if a Map where keys are names of corresponding table columns and values are bodies of javascript functions x -> string performing the desired formatting e.g. "return x.toFixed(2);" Note, that the name of the formal parameter passed into this function is always "x"

Fork me on GitHub