Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 922
arkantos Avatar asked Jan 19 '12 16:01

arkantos


1 Answers

Your inline style CSS syntax is incorrect. It should be like this.

filterStyle="width: 16px;"
like image 59
maple_shaft Avatar answered Oct 19 '22 10:10

maple_shaft