<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Primefaces 6.1 columnToggler on Liferay 7</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=104369781" />
  <subtitle>Primefaces 6.1 columnToggler on Liferay 7</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=104369781</id>
  <updated>2026-04-04T20:30:38Z</updated>
  <dc:date>2026-04-04T20:30:38Z</dc:date>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110985602" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110985602</id>
    <updated>2018-09-19T14:18:13Z</updated>
    <published>2018-09-19T14:18:13Z</published>
    <summary type="html">&lt;p&gt;This issue has been corrected with the latest release of the
  lifefaces bridge:&lt;/p&gt;
&lt;p&gt;https://community.liferay.com/blogs/-/blogs/liferay-faces-released-with-liferay-portal-7-1-support-?_com_liferay_blogs_web_portlet_BlogsPortlet_redirect=https%3A%2F%2Fcommunity.liferay.com%3A443%2Fblogs%3Fp_p_id%3Dcom_liferay_blogs_web_portlet_BlogsPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26_com_liferay_blogs_web_portlet_BlogsPortlet_cur%3D1%26_com_liferay_blogs_web_portlet_BlogsPortlet_delta%3D10&lt;/p&gt;</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-09-19T14:18:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110985571" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110985571</id>
    <updated>2018-09-19T14:12:35Z</updated>
    <published>2018-09-19T14:12:35Z</published>
    <summary type="html">&lt;p&gt;This issue has been corrected with the latest release of the
  lifefaces bridge:&lt;/p&gt;
&lt;p&gt;https://community.liferay.com/blogs/-/blogs/liferay-faces-released-with-liferay-portal-7-1-support-?_com_liferay_blogs_web_portlet_BlogsPortlet_redirect=https%3A%2F%2Fcommunity.liferay.com%3A443%2Fblogs%3Fp_p_id%3Dcom_liferay_blogs_web_portlet_BlogsPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26_com_liferay_blogs_web_portlet_BlogsPortlet_cur%3D1%26_com_liferay_blogs_web_portlet_BlogsPortlet_delta%3D10&lt;/p&gt;</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-09-19T14:12:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105205902" />
    <author>
      <name>Kyle Joseph Stiemann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105205902</id>
    <updated>2018-03-13T14:07:38Z</updated>
    <published>2018-03-13T14:07:38Z</published>
    <summary type="html">Hey Gunnar,&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;... we disabled SPA months ago, one reason was &amp;#34;strange behavior&amp;#34; because of &amp;#34;appendTo body&amp;#34;-Components that don&amp;#39;t get removed,...&lt;/blockquote&gt;&lt;br /&gt;Yeah, that&amp;#39;s an incompatibility between the design of PrimeFaces (which is designed first and foremost for webapps) and SennaJS/Liferay/Portlets. Maybe PrimeFaces would be willing to change the default &lt;span style="font-family: Courier New"&gt;appendTo&lt;/span&gt; setting when a portlet environment is detected. However, some components are missing &lt;span style="font-family: Courier New"&gt;appendTo&lt;/span&gt; support anyway, so really these issues need to be brought to their attention.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;... another reason was the fact, that every full request is transformed to an xhr-Request when using SPA. This is an issue, for example regarding parameter extraction from friendly URLs. If I remember correctly, this has been the main reason for disabling SPA. A datatable renders friendly URLs that don&amp;#39;t work with SPA enabled.&lt;/blockquote&gt;&lt;br /&gt;Could you &lt;a href="https://issues.liferay.com/secure/CreateIssue.jspa?pid=12081&amp;amp;issuetype=1"&gt;create a bug report&lt;/a&gt; with a &lt;a href="http://sscce.org/"&gt;simple reproducer&lt;/a&gt; for that issue Gunnar?&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Maybe SPA could be deactivated by default for &amp;#34;Portlet Pages&amp;#34; so we don&amp;#39;t have to disable it globally?&lt;br /&gt;Or special page layout selections &amp;#34;Portlet Page (with SPA)&amp;#34; and &amp;#34;Portlet Page (without SPA)&amp;#34;?&lt;/blockquote&gt;&lt;br /&gt;You can &lt;a href="https://stackoverflow.com/questions/41288039/how-can-i-disable-sennajs-spa-in-liferay-7"&gt;disable SennaJS on a per-portlet basis&lt;/a&gt;. Would that fit your requirements? I don&amp;#39;t know of any way to disable SennaJS on a per-page basis, but there might be some way to do that too.&lt;br /&gt;&lt;br /&gt;- Kyle</summary>
    <dc:creator>Kyle Joseph Stiemann</dc:creator>
    <dc:date>2018-03-13T14:07:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105196089" />
    <author>
      <name>Gunnar Brinkmann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105196089</id>
    <updated>2018-03-13T11:37:14Z</updated>
    <published>2018-03-13T11:37:14Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Kyle Joseph Stiemann:&lt;/div&gt;&lt;blockquote&gt;Hi William,&lt;br /&gt;This issue is basically the same as &lt;a href="https://issues.liferay.com/browse/FACES-2677"&gt;FACES-2677&lt;/a&gt;: SPA navigation removes PrimeFaces CSS files from the DOM when it believes that they are no longer needed, but the PrimeFaces markup is never removed since it is added outside the portlet markup via JavaScript. To fix FACES-2677, we used the &lt;a href="https://www.primefaces.org/docs/vdl/6.1/core/primefaces-p/selectOneMenu.html"&gt;&lt;span style="font-family: Courier New"&gt;appendTo=&amp;#34;@this&amp;#34;&lt;/span&gt; with &lt;span style="font-family: Courier New"&gt;p:selectOneMenu&lt;/span&gt;&lt;/a&gt; to ensure that the markup was rendered within the portlet&amp;#39;s markup (so that it would be completely removed by SPA on navigation). Unfortunately, &lt;a href="https://www.primefaces.org/docs/vdl/6.1/core/primefaces-p/columnToggler.html"&gt;&lt;span style="font-family: Courier New"&gt;p:columnToggler&lt;/span&gt; does not have an &lt;span style="font-family: Courier New"&gt;appendTo&lt;/span&gt; attribute&lt;/a&gt;. You may want to &lt;a href="https://github.com/primefaces/primefaces/issues/new"&gt;request this feature from PrimeFaces&lt;/a&gt;, since &lt;a href="https://www.primefaces.org/primefaces-6-2-rc2-released/"&gt;it may make it into PrimeFaces 6.2 soon&lt;/a&gt;. For PrimeFaces 6.1 though, there are a couple of possible workarounds:&lt;br /&gt;&lt;br /&gt;The first and best possible workaround is to include a style that hides the leftover toggler markup after you navigate away from your PrimeFaces portlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 16px;"&gt;&lt;span style="font-family: Courier New"&gt;&amp;lt;h:head&amp;gt;&lt;br /&gt;&amp;lt;!-- I haven&amp;#39;t tested the styles here, but you can probably mess with it and make it work. --&amp;gt;&lt;br /&gt;&amp;lt;style id=&amp;#34;hideColumnTogglerLeftoverMarkupWorkaroundCSS&amp;#34; data-senna-track=&amp;#34;permanent&amp;#34;&amp;gt;&lt;br /&gt;.ui-columntoggler.ui-widget {&lt;br /&gt;display: none;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;/h:head&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, you can &lt;a href="https://stackoverflow.com/questions/41288039/how-can-i-disable-sennajs-spa-in-liferay-7"&gt;disable SennaJS navigation&lt;/a&gt; when navigating from a page that includes &lt;span style="font-family: Courier New"&gt;p:columnToggler&lt;/span&gt;, but I think that&amp;#39;s a sub-optimal solution.&lt;br /&gt;&lt;br /&gt;- Kyle&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hello,&lt;br /&gt;&lt;br /&gt;we disabled SPA months ago, one reason was &amp;#34;strange behavior&amp;#34; because of &amp;#34;appendTo body&amp;#34;-Components that don&amp;#39;t get removed, another reason was the fact, that every full request is transformed to an xhr-Request when using SPA. This is an issue, for example regarding parameter extraction from friendly URLs. If I remember correctly, this has been the main reason for disabling SPA. A datatable renders friendly URLs that don&amp;#39;t work with SPA enabled.&lt;br /&gt;&lt;br /&gt;Maybe SPA could be deactivated by default for &amp;#34;Portlet Pages&amp;#34; so we don&amp;#39;t have to disable it globally?&lt;br /&gt;Or special page layout selections &amp;#34;Portlet Page (with SPA)&amp;#34; and &amp;#34;Portlet Page (without SPA)&amp;#34;?&lt;br /&gt;&lt;br /&gt;Just mumbling... :-)&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Gunnar</summary>
    <dc:creator>Gunnar Brinkmann</dc:creator>
    <dc:date>2018-03-13T11:37:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105009688" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105009688</id>
    <updated>2018-03-08T14:27:52Z</updated>
    <published>2018-03-08T14:27:52Z</published>
    <summary type="html">I got date filtering working again with the toggler. Apparently the state of the column toggles needs to be preserved in the managed bean or else sorting and filtering all go to hell. See this for details:  https://www.primefaces.org/stateful-column-toggler/</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-03-08T14:27:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104433433" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104433433</id>
    <updated>2018-02-23T16:30:34Z</updated>
    <published>2018-02-23T16:30:34Z</published>
    <summary type="html">I&amp;#39;m pretty sure its a primefaces issue.</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-02-23T16:30:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104426356" />
    <author>
      <name>Kyle Joseph Stiemann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104426356</id>
    <updated>2018-02-23T14:15:10Z</updated>
    <published>2018-02-23T14:15:10Z</published>
    <summary type="html">Hi William,&lt;br /&gt;I&amp;#39;m not sure what is causing that issue. I&amp;#39;d recommend trying to reproduce the issue in a plain webapp outside of Liferay. If you can reproduce the issue without Liferay, report the bug to PrimeFaces. If you can&amp;#39;t, report the bug to us and we&amp;#39;ll take a look at it and try to fix it or provide a workaround.&lt;br /&gt;&lt;br /&gt; - Kyle</summary>
    <dc:creator>Kyle Joseph Stiemann</dc:creator>
    <dc:date>2018-02-23T14:15:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104421143" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104421143</id>
    <updated>2018-02-23T14:02:29Z</updated>
    <published>2018-02-23T14:02:29Z</published>
    <summary type="html">So one other thing I noticed with the toggler is that it broke the two popup calendar filters that I had for two date columns I had in my datatable. You wouldn&amp;#39;t know anything about that by chance.  I know it has nothing to do with the fix you gave me  yesterday.   I can live without these popups but it be nice to know what&amp;#39;s going on.  Again thanks for all your help.</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-02-23T14:02:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104378839" />
    <author>
      <name>Kyle Joseph Stiemann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104378839</id>
    <updated>2018-02-22T16:35:30Z</updated>
    <published>2018-02-22T16:35:30Z</published>
    <summary type="html">You&amp;#39;re welcome &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt; Thanks for the kind words and for using Liferay Faces! Hope the demo goes well!&lt;br /&gt;&lt;br /&gt;- Kyle</summary>
    <dc:creator>Kyle Joseph Stiemann</dc:creator>
    <dc:date>2018-02-22T16:35:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104378727" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104378727</id>
    <updated>2018-02-22T16:24:42Z</updated>
    <published>2018-02-22T16:24:42Z</published>
    <summary type="html">Thanks so much for this work around Kyle! It did the trick for me. I&amp;#39;m doing a demo for the big wigs today and really wanted this in the mix. You rock!</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-02-22T16:24:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104374428" />
    <author>
      <name>Kyle Joseph Stiemann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104374428</id>
    <updated>2018-02-22T14:52:17Z</updated>
    <published>2018-02-22T14:52:17Z</published>
    <summary type="html">Yeah, when I saw that &lt;span style="font-family: Courier New"&gt;appendTo&lt;/span&gt; was missing, I was really bummed out. Hopefully this other workaround is good enough. The &lt;span style="font-family: Courier New"&gt;appendTo=&amp;#34;@this&amp;#34;&lt;/span&gt; solution for &lt;span style="font-family: Courier New"&gt;p:selectOneMenu&lt;/span&gt; is much more elegant and simple.</summary>
    <dc:creator>Kyle Joseph Stiemann</dc:creator>
    <dc:date>2018-02-22T14:52:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104373533" />
    <author>
      <name>Juan Gonzalez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104373533</id>
    <updated>2018-02-22T14:43:06Z</updated>
    <published>2018-02-22T14:43:06Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Kyle Joseph Stiemann:&lt;/div&gt;&lt;blockquote&gt;Unfortunately, &lt;a href="https://www.primefaces.org/docs/vdl/6.1/core/primefaces-p/columnToggler.html"&gt;&lt;span style="font-family: Courier New"&gt;p:columnToggler&lt;/span&gt; does not have an &lt;span style="font-family: Courier New"&gt;appendTo&lt;/span&gt; attribute&lt;/a&gt;.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Oh I didn&amp;#39;t checked this :-). Good catch.</summary>
    <dc:creator>Juan Gonzalez</dc:creator>
    <dc:date>2018-02-22T14:43:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104370247" />
    <author>
      <name>Kyle Joseph Stiemann</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104370247</id>
    <updated>2018-02-22T14:38:19Z</updated>
    <published>2018-02-22T14:38:19Z</published>
    <summary type="html">Hi William,&lt;br /&gt;This issue is basically the same as &lt;a href="https://issues.liferay.com/browse/FACES-2677"&gt;FACES-2677&lt;/a&gt;: SPA navigation removes PrimeFaces CSS files from the DOM when it believes that they are no longer needed, but the PrimeFaces markup is never removed since it is added outside the portlet markup via JavaScript. To fix FACES-2677, we used the &lt;a href="https://www.primefaces.org/docs/vdl/6.1/core/primefaces-p/selectOneMenu.html"&gt;&lt;span style="font-family: Courier New"&gt;appendTo=&amp;#34;@this&amp;#34;&lt;/span&gt; with &lt;span style="font-family: Courier New"&gt;p:selectOneMenu&lt;/span&gt;&lt;/a&gt; to ensure that the markup was rendered within the portlet&amp;#39;s markup (so that it would be completely removed by SPA on navigation). Unfortunately, &lt;a href="https://www.primefaces.org/docs/vdl/6.1/core/primefaces-p/columnToggler.html"&gt;&lt;span style="font-family: Courier New"&gt;p:columnToggler&lt;/span&gt; does not have an &lt;span style="font-family: Courier New"&gt;appendTo&lt;/span&gt; attribute&lt;/a&gt;. You may want to &lt;a href="https://github.com/primefaces/primefaces/issues/new"&gt;request this feature from PrimeFaces&lt;/a&gt;, since &lt;a href="https://www.primefaces.org/primefaces-6-2-rc2-released/"&gt;it may make it into PrimeFaces 6.2 soon&lt;/a&gt;. For PrimeFaces 6.1 though, there are a couple of possible workarounds:&lt;br /&gt;&lt;br /&gt;The first and best possible workaround is to include a style that hides the leftover toggler markup after you navigate away from your PrimeFaces portlet:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 16px;"&gt;&lt;span style="font-family: Courier New"&gt;&amp;lt;h:head&amp;gt;&lt;br /&gt;&amp;lt;!-- I haven&amp;#39;t tested the styles here, but you can probably mess with it and make it work. --&amp;gt;&lt;br /&gt;&amp;lt;style id=&amp;#34;hideColumnTogglerLeftoverMarkupWorkaroundCSS&amp;#34; data-senna-track=&amp;#34;permanent&amp;#34;&amp;gt;&lt;br /&gt;.ui-columntoggler.ui-widget {&lt;br /&gt;display: none;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;/h:head&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, you can &lt;a href="https://stackoverflow.com/questions/41288039/how-can-i-disable-sennajs-spa-in-liferay-7"&gt;disable SennaJS navigation&lt;/a&gt; when navigating from a page that includes &lt;span style="font-family: Courier New"&gt;p:columnToggler&lt;/span&gt;, but I think that&amp;#39;s a sub-optimal solution.&lt;br /&gt;&lt;br /&gt;- Kyle</summary>
    <dc:creator>Kyle Joseph Stiemann</dc:creator>
    <dc:date>2018-02-22T14:38:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104372608" />
    <author>
      <name>Juan Gonzalez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104372608</id>
    <updated>2018-02-22T14:14:17Z</updated>
    <published>2018-02-22T14:14:17Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi William.&lt;br&gt;&lt;br&gt;I think we found this (and sent a fix to Primefaces).&lt;br&gt;&lt;br&gt;As I recall these components are attached to body by default. This means that SPA, when loading another page, won't unload those components properly, because they aren't in the current portlet "div". &lt;br&gt;&lt;br&gt;I think we fixed this by changing this component attachment to "@this":&lt;br&gt;&lt;br&gt;If you want to attach to that column header component you should do this in that column toggler:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt; appendTo="@this"&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;The problem here is that Primefaces has some CSS that doesn't let overlays within a datatable column to be shown on overflow. So we  opened an issue here: &lt;a href="https://github.com/primefaces/primefaces/issues/1967"&gt;https://github.com/primefaces/primefaces/issues/1967&lt;/a&gt;.&lt;br&gt;&lt;br&gt;You can try what I said before and if you reproduce the latter mentioned problem override these css rules with these changes:&lt;br&gt;&lt;br&gt;&lt;a href="https://github.com/primefaces/primefaces/pull/1968/files"&gt;https://github.com/primefaces/primefaces/pull/1968/files&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hope it helps.&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Juan Gonzalez</dc:creator>
    <dc:date>2018-02-22T14:14:17Z</dc:date>
  </entry>
  <entry>
    <title>Primefaces 6.1 columnToggler on Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104369780" />
    <author>
      <name>William Gosse</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=104369780</id>
    <updated>2018-02-22T13:49:16Z</updated>
    <published>2018-02-22T13:49:16Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;I'm having an issue with the Primefaces 6.1 columnToggler on Liferay 7. I created a portlet with a dataTable that has a columnToggler on it.  The toggler seems to be working fine but if I go to another page the toggler dropdown is being rendered in the upper left corner of my portal.&lt;br&gt;&lt;pre&gt;&lt;code&gt;
		&amp;lt;h:form id="loanForm" onkeypress="if (event.keyCode == 13) { return false; }"&amp;gt;
			&amp;lt;p:datatable id="loansTable" var="loan" reflow="true" value="#{loanView.loans}" widgetvar="loansTableWidgetVar" emptymessage="No records found with given criteria" filteredvalue="#{loanView.filteredLoans}" paginatortemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" paginator="true" rows="50" rowsperpagetemplate="50,100,150,200" sortmode="multiple" rowkey="#{loan.id}" rowindexvar="rowIndex"&amp;gt;

				&amp;lt;f:facet name="header"&amp;gt;
					&amp;lt;p:toolbar style="border: none; padding: 0; background: none;"&amp;gt;
						&amp;lt;f:facet name="left"&amp;gt;
							&amp;lt;p:commandbutton id="addLoanButton" style="padding-top: 2px;" onclick="PF('addloanDialogVar').show();" value="Add" icon="ui-icon-plus" title="Add a new loan."&amp;gt;
							&amp;lt;/p:commandbutton&amp;gt;
							&amp;lt;p:spacer width="20"&amp;gt;&amp;lt;/p:spacer&amp;gt;
							&amp;lt;h:outputtext value="Export " /&amp;gt;
							&amp;lt;h:commandlink&amp;gt;
								&amp;lt;p:graphicimage name="/images/excel.png" title="Export to Excel" /&amp;gt;
								&amp;lt;p:dataexporter type="xls" target="loansTable" fileName="loans" pageOnly="false" /&amp;gt;
							&amp;lt;/h:commandlink&amp;gt;

							&amp;lt;h:commandlink&amp;gt;
								&amp;lt;p:graphicimage name="/images/csv.png" title="Export to CSV" /&amp;gt;
								&amp;lt;p:dataexporter type="csv" target="loansTable" fileName="loans" pageOnly="false" /&amp;gt;
							&amp;lt;/h:commandlink&amp;gt;
						&amp;lt;/f:facet&amp;gt;

						&amp;lt;f:facet name="right"&amp;gt;
							&amp;lt;p:inputtext id="globalFilter" onkeyup="PF('loansTableWidgetVar').filter()" style="vertical-align: middle;" placeholder="Search..." /&amp;gt;
							&amp;lt;p:spacer width="5"&amp;gt;&amp;lt;/p:spacer&amp;gt;
							&amp;lt;p:commandbutton id="clearButton" style="padding-top: 2px;" value="Reload" title="Clear search filters and reload page." icon="ui-icon-refresh" actionlistener="#{loanView.loadAllLoans}" update="@form" oncomplete="PF('loansTableWidgetVar').clearFilters(); location.reload();"&amp;gt;
							&amp;lt;/p:commandbutton&amp;gt;
							&amp;lt;p:spacer width="20"&amp;gt;&amp;lt;/p:spacer&amp;gt;
[							&amp;lt;p:commandbutton id="loanTableTogglerButton" type="button" value="Columns" style="float:right" icon="ui-icon-calculator"&amp;gt;
							&amp;lt;/p:commandbutton&amp;gt;
							&amp;lt;p:columntoggler id="loanTableToggler" datasource="loansTable" trigger="loanTableTogglerButton" rendered="#{!empty loanView.loans}" /&amp;gt;
					&amp;lt;/f:facet&amp;gt;
					&amp;lt;/p:toolbar&amp;gt;
				&amp;lt;/f:facet&amp;gt;
&amp;lt;/p:datatable&amp;gt;&amp;lt;/h:form&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;Here's what the toggler looks like on my data table and when I go to another page:&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>William Gosse</dc:creator>
    <dc:date>2018-02-22T13:49:16Z</dc:date>
  </entry>
</feed>
