更改宽度过滤器输入框 primefaces 数据表
您好,我如何在 primefaces 数据表中为过滤器输入框应用 ccs 样式,尝试以这种方式使用过滤器样式:
<p:column styleClass="placaColumna" filterStyle="width=16px" headerText="Placa" filterBy="#
{bandeja.placa}"><h:outputText value ="#{bandeja.placa}"/></p:column>
谢谢:D
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的内联样式 CSS 语法不正确。应该是这样的。
Your inline style CSS syntax is incorrect. It should be like this.
您还可以使用带有选项filterStyleClass的CSS类
不要忘记在CSS类中使用!important
You can also use an CSS class with the option filterStyleClass
Don't forget to use !important in your css class