@kanunilabs/pivotgrid-react-enterprise
@kanunilabs/pivotgrid-react-enterprise / PivotNodeContextMenuProps
Interface: PivotNodeContextMenuProps
Properties
colTree
colTree:
PivotNode[]
menu
menu:
NodeContextMenuState
onClose
onClose: () =>
void
Returns
void
onCollapseColPaths
onCollapseColPaths: (
paths) =>void
Parameters
paths
string[]
Returns
void
onCollapsePaths
onCollapsePaths: (
paths) =>void
Parameters
paths
string[]
Returns
void
onExpandColPaths
onExpandColPaths: (
paths) =>void
Parameters
paths
string[]
Returns
void
onExpandPaths
onExpandPaths: (
paths) =>void
Parameters
paths
string[]
Returns
void
onRowLevel?
optionalonRowLevel?: (depth,open) =>boolean
Rows: "Expand all" / "Collapse all" as one command, every group at depth and below (the controller's
rowLevel, B.112); true when it was done. Otherwise (or without it) the menu collects the keys and
calls onExpandPaths / onCollapsePaths.
Parameters
depth
number
open
boolean
Returns
boolean
onToggleColExpand
onToggleColExpand: (
path) =>void
Parameters
path
string
Returns
void
onToggleExpand
onToggleExpand: (
path) =>void
Parameters
path
string
Returns
void
rowTree
rowTree:
PivotNode[]
t
t: (
key) =>string
Parameters
key
string
Returns
string