| Author |
how to show a row of data table in two rows?
|
Fawad Ali
Ranch Hand
Joined: Dec 28, 2009
Posts: 108
|
|
Hello All,
I have a datatable which shows a list of objects. Each object is represented by a row of datatable's row. But the attributes of a row are about 20 which goes out side my display area. I want to show them inside the display area. On solution is that, I put css overflow attribute. But I do not want the sliders. So is there any way to show the long rows in 2 rows or more so that I am able to have all the content in my display area.
|
Regards, Fawad Ali.
Software Engineer, Stafona Inc. - My Blog
|
 |
Vishal Chaudhry
Greenhorn
Joined: Dec 16, 2009
Posts: 7
|
|
|
Try specifying width on each outputText using stylesheet. This should limit the width and the text would be displayed in more than one line. Another thing which you can do is combine output from more than one field in the same column. This way you can reduce the width of the disaplyed row by increasing the height of each row.
|
 |
Fawad Ali
Ranch Hand
Joined: Dec 28, 2009
Posts: 108
|
|
|
Thanks. That helped alot.
|
 |
 |
|
|
subject: how to show a row of data table in two rows?
|
|
|