What`s the best way to change the width of a column filter in datatable?
This input field is automatically generated, and don`t have an id nor class attribute.
Thanks in advance.
datatable + filter + css/style
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi,
You're right that filter is not very customizable right now but in the upcoming version that'll be available next week, there'll be enhancements to make styling easy.
For now I think you can do a style selector like;
In upcoming version, there'll be an attribute like filterStyleClass on p:column.
You're right that filter is not very customizable right now but in the upcoming version that'll be available next week, there'll be enhancements to make styling easy.
For now I think you can do a style selector like;
Code: Select all
.yui-skin-sam .yui-dt th input {
//styles here
}
-
- Posts: 145
- Joined: 05 Nov 2009, 22:32
I'm interested in this feature. Is there a Jira issue to follow ?
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
-
- Information
-
Who is online
Users browsing this forum: No registered users and 33 guests