Primefaces DataTable selectCheckboxMenu过滤器格式化问题 [英] Primefaces DataTable selectCheckboxMenu filter formatting issue

查看:229
本文介绍了Primefaces DataTable selectCheckboxMenu过滤器格式化问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我复制了这里的过滤器的Primeface展示给我的本地JBoss安装:
http://www.primefaces.org/showcase/ui/data/datatable/filter.xhtml
但是我的selectCheckboxMenu的颜色最终看起来像这样



>



我使用Primefaces 5.0。
我如何让它看起来像PF Showcase网站上的演示?





EDIT



更改为PF 5.1.RC1,但仍然没有运气



也尝试增加演示程序使用的宽度为p:selectCheckboxMenu,但是结果



>



<$ p $

p> label {
float:left;
text-align:left;
margin-right:0.5em;
display:block
}


I copied the Primeface showcase for filters located here to my Local JBoss install: http://www.primefaces.org/showcase/ui/data/datatable/filter.xhtml But my selectCheckboxMenu for colors ends up looking like this

I'm using Primefaces 5.0. How can I get it to look like the demo on PF Showcase site?

EDIT

Changed to PF 5.1.RC1 but still no luck

Also tried increasing the width used by the demo for the p:selectCheckboxMenu but with this result

解决方案

The problem was having the following entry in my custom CSS file which conflicted with the Primefaces.css

label {
    float: left;
    text-align: left;
    margin-right: 0.5em;
    display: block
}

这篇关于Primefaces DataTable selectCheckboxMenu过滤器格式化问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆