This is a migrated thread and some comments may be shown as answers.

full screen Grid

3 Answers 938 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 08 Oct 2019, 02:45 PM

When I bring a tab full screen, the filter menus of the grid inside are no longer visible.
Probably because they hang on the body of the document.
How can i resolve?

I use Element.requestFullscreen() for put the container in full-screen mode

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 09 Oct 2019, 06:48 AM

Hello Nunzio,

The described issue is caused by the fact that the Filter menu Popup is appended to the root component and thus is outside of the element put in full screen mode. The Popup gets created and appended to the DOM correctly, but is not visible due to the reason described above.

When the whole component the Grid is in is wrapped in an element that requestFullscreen is called on, the filter menu popups are opening and visible as expected.

https://stackblitz.com/edit/angular-wt3hem?file=index.html // open in new window to observe the correct behavior

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
n/a
Top achievements
Rank 1
answered on 09 Oct 2019, 10:23 AM

Thank you for the answer, i have update your example (https://stackblitz.com/edit/angular-wt3hem-gmu65s)

with a context more near to my project.

The element to be set in fullscreen mode is nested and as you can see (on the example) the filter don't be visible.

Thanks in advance

Regards

0
Accepted
Dimiter Topalov
Telerik team
answered on 11 Oct 2019, 07:01 AM

Hello Nunzio,

By default the Popup that holds all various Grid Menu elements (like Filter Menu and Column Menu) is appended to the root component of the application. The requestFullScreen method will yield a Grid with properly working menus when wrapping the root component in an element the method will be called upon (so that both the Grid and the Popup end up within the same parent put in full screen mode).

Alternatively, you can provide a custom container for the Grid, and set it as the element the Popup will be appended to, as demonstrated in the following section of our documentation:

https://www.telerik.com/kendo-angular-ui/components/popup/api/POPUP_CONTAINER/

Here is the updated example:

https://stackblitz.com/edit/angular-wt3hem-g7tceo?file=app/app.module.ts

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
n/a
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
n/a
Top achievements
Rank 1
Share this question
or