Grid popovers
Use a non-modal popover for interactive details or actions. Select Show details to open the example.
import { GridPopoverPlugin } from '@revolist/revogrid-pro';
grid.plugins = [GridPopoverPlugin];const popover = (await grid.getPlugins()).find( (p) => p instanceof GridPopoverPlugin,);const content = document.createElement('p');content.textContent = 'Review this work with your team.';popover?.open(trigger, { label: 'Work details', // Provide a localized accessible name. content, align: 'start', cleanup: () => { /* Unmount framework content if needed. */ },});The host owns content and actions. open returns false for a detached anchor and calls cleanup; positionAnchor may specify a different element for placement. Alignment can be start, center or end. Call position() after changing content, or close(true) to return focus to the trigger. isOpen reports the current state. Escape, outside clicks, scrolling, source replacement, closing an owning dialog and plugin destruction dismiss the popover. The plugin manages its own trigger ARIA state and copies the grid theme.