Enhancement: Resize Broswer event on Menu show and hide

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
Melloware
Posts: 3716
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

$(window).trigger('resize');
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 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

mert.sincan
Posts: 5281
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 2 guests