Style Popups

By default the popup containers of the Grid menus (e.g. the Column and Filter menus) are appended to the root component of the application.

This allows the popups to overlay other application components, but can prove to be inconvenient if the popup styling must be scoped to the particular component instance.

To set the popup container to the host component, provide the ElementRef as POPUP_CONTAINER and a new instance of the PopupService.

The following example demonstrates this approach.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?