Scrollable and filtrable datatable

UI Components for JSF
Post Reply
jmcollin92
Posts: 145
Joined: 05 Nov 2009, 22:32

10 Jan 2010, 13:22

Hello,

I'm trying to use the scrolling capabilities in datatable but can't make it work like explain in the documentation.
When typing

Code: Select all

 width="100%"
or

Code: Select all

width="500px"
like the example in the documentation, I've got the following exception :

Code: Select all

12:16:46,230 ERROR [STDERR] 10 janv. 2010 12:16:46 com.sun.facelets.FaceletViewHandler handleRenderException
GRAVE: Error Rendering View[/jmcnet/atipa/ksoft/presentation/accueil/page-d-accueil.xhtml]
java.lang.NumberFormatException: For input string: "500px"
It seems that those fields accept only numbers, and it would be great to be able to specify a % or number of px.

Thank's ...
Last edited by jmcollin92 on 10 Jan 2010, 13:48, edited 1 time in total.
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---

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

10 Jan 2010, 13:24

Weird, I've just tested scrollableDataTable examples and they have it like width="200px", height="300px".

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

10 Jan 2010, 13:38

cagatay.civici wrote:Weird, I've just tested scrollableDataTable examples and they have it like width="200px", height="300px".
Sorry, it's my fault... It's works. :oops:

But when having a scrollable datatable with filter enabled, the style of the datatable is broken. An example :
Image
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---

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

11 Jan 2010, 14:58

There are important filtering enhancements&fixes recently and more will come as well on filtering.

Please try with the latest snapshot.

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

11 Jan 2010, 20:49

cagatay.civici wrote:There are important filtering enhancements&fixes recently and more will come as well on filtering.

Please try with the latest snapshot.
I'm using the 1.0.0-SNAPSHOT (nightly build I think).
----
Primefaces 2.0.1-SNAPSHOT
JBoss 6.0.0-M2
Mojorra 2.0.2
---

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

12 Jan 2010, 14:21

And date?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 46 guests