Skip to content Skip to sidebar Skip to footer

Primefaces Global Filter Without The Column Filters

I'm working on the example mentioned in primefaces showcase. I am trying to create a global filter for the datatable. Currently the table looks like this: What I want to do is rem

Solution 1:

Make sure you have the filterBy="#{myRowVar.sonmeField}" in every p:column (because the global filter needs it)

And also add the filterStyle="display:none" in every p:column (adding of filterStyle="display:none" will make it not visible...)

Solution 2:

or you can just put:

.ui-column-filter{
     display: none !important;
}

in your .css to hide all column filters

Post a Comment for "Primefaces Global Filter Without The Column Filters"