wood burning stoves 2.0
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 Building Microservices this week in the Design 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@gmail.com

Srimaruthi001<br />Bangalore<br />9902932669
Have you checked out Aspose?
subject: hiding exceeded data in h:dataTable columns
It's not a secret anymore!