datatable + filter + css/style

UI Components for JSF
Post Reply
rsvalerio
Posts: 1
Joined: 08 Jan 2010, 06:47

08 Jan 2010, 11:08

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.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

10 Jan 2010, 04:29

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;

Code: Select all

.yui-skin-sam .yui-dt th input {
   //styles here
}
In upcoming version, there'll be an attribute like filterStyleClass on p:column.

jmcollin92
Posts: 145
Joined: 05 Nov 2009, 22:32

10 Jan 2010, 13:45

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
---


Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests