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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "hiding exceeded data in h:dataTable columns" Watch "hiding exceeded data in h:dataTable columns" New topic
Author

hiding exceeded data in h:dataTable columns

sirisha lingareddy
Greenhorn

Joined: Jun 09, 2008
Posts: 1
hi,
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
Greenhorn

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


Nitin
Bhaskar GR
Greenhorn

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
Greenhorn

Joined: Jun 12, 2008
Posts: 3
hey
do one thing,
contact me at srimaruthi001@gmail.com


Srimaruthi001<br />Bangalore<br />9902932669
 
 
subject: hiding exceeded data in h:dataTable columns