Hi, how to apply ccs style for filter input field in datatable file, trying to use filterstyle like this:
<p:column styleClass="placaColumna" filterStyle="width=16px" headerText="Placa" filterBy="# {bandeja.placa}"><h:outputText value ="#{bandeja.placa}"/></p:column>
thanks: D
The CSS syntax of your inline style is incorrect. It should be like that.
filterStyle="width: 16px;"
You can also use CSS class with filterStyleClass parameter
Do not forget to use! important in your css class
filterStyleClass="cssClass" .cssClass{width: 16px !important}
Source: https://habr.com/ru/post/906411/More articles:Get type inheritance tree - inheritanceHow to run common code for most requests in my Spring MVC web application? - javaMethods for determining acoustic similarity (but not fingerprints) - audioHow to check if two generics have base subclass relationships without creating them? - genericsHide scrollbars in DataGridView - c #Combined list and dict comprehension - pythonFixed format CSV file download - pythonHow do all friends images using the fields parameter not work? - imageSVG pattern inconsistency between chrome and firefox - firefoxFancybox navigation arrows not showing up - jqueryAll Articles