Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / useGridPortalTarget

Function: useGridPortalTarget()

useGridPortalTarget(): () => HTMLElement

The element a popup is portalled into, read when the popup opens: <body>, or the host inside the grid's portalContainer (core portalTarget).

Returns

() => HTMLElement