I'm Using Primefaces 11 and 12
I'm Using
Code: Select all
stickyHeader="true"
Code: Select all
<p:dataTable
Code: Select all
@media (min-width: 768px) {
.ui-datatable table {
width: 100% !important;
}
}
@media (max-width: 769px) {
.ui-datatable table {
width: auto !important;
}
body .ui-datatable.ui-datatable-sticky > table > thead, body .ui-datatable.ui-datatable-sticky > table > tfoot {
display: none;
}
}
and I have to make sticky header's display as none because it won't scroll
and now the real table header's filters field (input text or selectOneMenu ...) are set as disabled
so I can't use filter