Enhancement: Resize Broswer event on Menu show and hide

Post Reply
Posts: 2375
Joined: 22 Apr 2013, 15:48

28 Dec 2016, 00:29

Say you have the following:

1. Atlantis Menu set to Inline.

2. Primefaces Scrollable Datatable with scrollable="true" and scrollWidth="100%"

When you close and open the Atlantis menu the table does not draw properly. Maybe the <pa:tabMenu" needs Javascript call back events like onopen="" and onclose="" so we can hook Javascript events up to the menu moving.

Then I could call..

Code: Select all

To force a resize of the window and have the PF Datatable resize itself properly.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

Posts: 4637
Joined: 29 Jun 2013, 12:38

06 Jan 2017, 14:14

I think you can change layout.js. For now, We don't think to add events into tabMenus. Also, layout.js has $(window).trigger('resize'); for menu-button and links in the tabMenuNav. Please check them.

Post Reply

Return to “Atlantis - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests