Changing width filter inputbox primefaces datatable
问题 Hi how do i apply the ccs style for the filter inputbox in a primefaces datatable, trying to use filterstyle this way: <p:column styleClass="placaColumna" filterStyle="width=16px" headerText="Placa" filterBy="# {bandeja.placa}"><h:outputText value ="#{bandeja.placa}"/></p:column> thanks :D 回答1: Your inline style CSS syntax is incorrect. It should be like this. filterStyle="width: 16px;" 回答2: You can also use an CSS class with the option filterStyleClass Don't forget to use !important in your