missing feature in <p:column>

UI Components for JSF
Post Reply
edmund-wagner
Posts: 18
Joined: 18 Jan 2010, 14:35

08 Feb 2010, 18:48

Hey,
using datatable I stumbled over a problem with <p:column>. I wanted to make my columns take up all the available space (<p:datatable width="100%">). columns only support pixel width definition also style attr is not supported so I had to define and set a style class for each percentage I used, which pretty much sucks ;)
Would be nice if you could add this in a future version.
Best,
Edmund

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

08 Feb 2010, 19:05

Not sure since DOM for table is generated on the fly with javascript, it is not easy to add style attribute to a column. styleClass or the width attribute can be used for that.

edmund-wagner
Posts: 18
Joined: 18 Jan 2010, 14:35

09 Feb 2010, 12:22

Width would do, if one could also set the unit size like "20%","50px" etc... only pixels is quite uncomfortable. But maybe its technically unsuitable in this context.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 50 guests