Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / focusStaysWithGrid

Function: focusStaysWithGrid()

focusStaysWithGrid(gridSelector, next): boolean

Where focus may go and still be "in" the grid: the grid itself, one of its detached popups (date calendar, lookup list, dialogs) or an element the app marks as belonging to the open editor.

Parameters

gridSelector

string

next

Element | null

Returns

boolean