feat: Adds drill to detail context menu to Table (#21168)

* feat: Adds drill to detail context menu to Table

* Improves context menu positioning

* Fixes Pivot Table typying
This commit is contained in:
Michael S. Molina
2022-08-26 13:35:26 -03:00
committed by GitHub
parent 982210ad83
commit 68fa4d2665
5 changed files with 52 additions and 4 deletions

View File

@@ -365,8 +365,8 @@ export default function PivotTableChart(props: PivotTableProps) {
const handleContextMenu = useCallback(
(
e: MouseEvent,
colKey: DataRecordValue[] | undefined,
rowKey: DataRecordValue[] | undefined,
colKey: (string | number | boolean)[] | undefined,
rowKey: (string | number | boolean)[] | undefined,
) => {
if (onContextMenu) {
e.preventDefault();