my dog learned polymorphism*
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
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
Similar Threads
Load JTable Data
Best way - DHTML Drop Down Menus
Adding two Strings in JSP
Aligning columns in 2 tables
hide a line