@kanunilabs/pivotgrid / PivotGridApi
Interface: PivotGridApi<TRow>
The instance handle. controller is the full engine — same object the React onReady hands out.
Type Parameters
TRow
TRow = unknown
Properties
controller
controller:
PivotController<TRow>
element
element:
HTMLElement
Methods
destroy()
destroy():
void
Returns
void
setData()
setData(
data):void
Parameters
data
TRow[]
Returns
void
setFields()
setFields(
fields):void
Parameters
fields
PivotField<TRow, PivotCellTemplate, any>[]
Returns
void
setLocale()
setLocale(
locale,dictionary?,rtl?):void
Parameters
locale
dictionary?
Partial<PivotDictionary>
rtl?
boolean
Returns
void