Interface: GridOptionsOptions<Row>
Defined in: packages/sdvtables/src/aggrid.ts:77
gridOptions options.
Type Parameters
Row
Row
Properties
teamRows?
optionalteamRows?:object
Defined in: packages/sdvtables/src/aggrid.ts:90
Fill each row with its team's colour, from the row's key value (an abbreviation, a name or a numeric id).
The colours are sdvplot's team palette for the theme's background (3:1 against it, distinct between teams) laid
over it at alpha (default 0.4), with black or white text, whichever reads better on the fill. A row whose team
is not found keeps the theme.
alpha?
optionalalpha?:number
The fill's opacity over the theme's background, 0 to 1. Default 0.4 (as the teamColorBg column).
idSystem?
optionalidSystem?:IdSystem
key
key: keyof
Row&string
league
league:
"aaf"|"ahl"|"ajhl"|"bchl"|"cchl"|"cebl"|"cfb"|"cfl"|"chl"|"cricket"|"easl"|"echl"|"f1"|"fiba"|"gojhl"|"iihf"|"kijhl"|"lba"|"mbb"|"mhl"|"milb"|"mjhl"|"mlb"|"nba"|"nbagl"|"nbl"|"ncaa_baseball"|"ncaa_mhockey"|"ncaa_softball"|"ncaa_whockey"|"nfl"|"nhl"|"nojhl"|"ohl"|"ojhl"|"phf"|"pwhl"|"qmjhl"|"sjhl"|"soccer"|"sphl"|"ufl"|"usfl"|"ushl"|"vijhl"|"wbb"|"whl"|"wnba"|"xfl"
season?
optionalseason?:SeasonInput
which?
optionalwhich?:Which
"primary" (default) or "secondary".
theme?
optionaltheme?:Theme<ThemeDefaultParams>
Defined in: packages/sdvtables/src/aggrid.ts:83
The AG Grid base theme to lay the sdvtables theme over, usually themeQuartz from ag-grid-community (or
themeAlpine, themeBalham). Passed in so this module never imports AG Grid. Without it, no theme is returned
and the grid keeps its own.