This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSF and the fly likes hiding exceeded data in h:dataTable columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "hiding exceeded data in h:dataTable columns" Watch "hiding exceeded data in h:dataTable columns" New topic

hiding exceeded data in h:dataTable columns

sirisha lingareddy

Joined: Jun 09, 2008
Posts: 1
my requirement is I have to display some data in dataTable and I need to put fixed height for the columns.if the data in that column exceeds then the data should hide and onmouseover one tooltip should come showing the exceeded data.

but the jsf data table is not hiding the data at all.I have given width and height for that column using css but it is showing the data completely.

please tell me how can I do this one.
Nitin Deshmukh

Joined: Nov 28, 2007
Posts: 9
try using
overflow: hidden;
in styleClass.

Bhaskar GR

Joined: Jun 13, 2008
Posts: 28
I suggest you use CSS like this:

table#[id of the table].tbody{
overflow: scroll;
height:[specified height];
srikantha reddy

Joined: Jun 12, 2008
Posts: 3
do one thing,
contact me at

Srimaruthi001<br />Bangalore<br />9902932669
I agree. Here's the link:
subject: hiding exceeded data in h:dataTable columns
jQuery in Action, 3rd edition