Scrollable Fieldset ¿?

UI Components for JSF
Post Reply
User avatar
Link
Posts: 10
Joined: 08 Sep 2010, 19:23

22 Feb 2011, 17:57

Hi, i want to know if there's a way to simulate a scroll inside a fieldset.

I need it because i have a p:datatable inside a fieldset, and the fieldset has an predefined width and heigth, sometimes what is shown inside the datatable make the row be "heigthes" tan a normal row, so if i have the property rows=10 in the p:datatable and what is shown inside every row gets 2 rows of heigth then the content of the datatable is translaping the component below it. So i need to avoid that, because i can not make the fieldset heigth larger, and i cant strech the content of rows.

I've purchase primefaces user guide, and i cant find a way to do that. I really need it, so i'll apreciate every help you can bring me.

Thank you.
Pura Vida!!

Using:
Primefaces 2.2, Glasfish 3.0.1, JSF 2.0, Netbeans 6.9

User avatar
bumble.bee
Posts: 723
Joined: 29 Sep 2010, 21:39
Location: United States

22 Feb 2011, 20:02

You could try the CSS overflow property.

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

22 Feb 2011, 20:17

Or place a scrollPanel inside fieldset;

http://www.primefaces.org/showcase-labs ... lPanel.jsf

User avatar
Link
Posts: 10
Joined: 08 Sep 2010, 19:23

25 Feb 2011, 00:14

Thanks for your answer, i've solved with css overflow property, anyway the new ScrollPanel is pretty cool, but we dont want this to look that way. :D :D

Thanks again. ;)
Pura Vida!!

Using:
Primefaces 2.2, Glasfish 3.0.1, JSF 2.0, Netbeans 6.9

GuitarBrasil
Posts: 221
Joined: 04 Aug 2011, 22:00

30 Aug 2011, 20:07

optimus.prime wrote:Or place a scrollPanel inside fieldset;

http://www.primefaces.org/showcase-labs ... lPanel.jsf
Are you saying that this issue could be solved simply if he places the scrollpanel inside a fieldset? Is it a possible solution for the fact that ScrollPanel doesn't show inside a Dialog? Are you meaning the Fieldset component that exists since v2 of PC?
PrimeFaces 3.5 + JSF 2.1.4 + Tomcat 7.X

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests