i'm using Primefaces 6.2 with a dataTable and a columnToggler to hide/display some of the colums of the table. Here the xhtml code
<f:facet name="header" style="height: 300px; width: 200px">
<p:commandButton id="wlToggler" type="button" value="Columns"
style="float:right; background-color: #f9f9f9"
styleClass="btn btn-success" icon="fa fa-align-justify" />
<p:columnToggler datasource="whiteListItemTable" trigger="wlToggler">
<p:ajax event="toggle"
listener="#{whiteListController.onToggleWhiteList}" />
</p:columnToggler>
</f:facet>
I have around 10 columns to toggle, but i'm not happy when clicking on the toggle button because not all the columns are displayed. I would like to avoid vertical and horizontal elevators on the items listed:
Just list all the columns and be able to see the full column names without any lift.
Do you know how i can do that ?
Thanks for your help