Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hiding exceeded data in h:dataTable columns

 
sirisha lingareddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try using
overflow: hidden;
in styleClass.
 
Bhaskar GR
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you use CSS like this:

table#[id of the table].tbody{
overflow: scroll;
height:[specified height];
}
 
srikantha reddy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey
do one thing,
contact me at srimaruthi001@gmail.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic