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
missing feature in <p:column>
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
-
- Posts: 18
- Joined: 18 Jan 2010, 14:35
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.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests