aspose file tools*
The moose likes JSF and the fly likes Column Width in ICEFACES Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Column Width in ICEFACES" Watch "Column Width in ICEFACES" New topic
Author

Column Width in ICEFACES

Mani Natrajan
Greenhorn

Joined: Oct 12, 2009
Posts: 12
Hi,
I am new to ICEFaces and i am creating a page which has a table.
In the table one of the column widths is too long, that I want to reduce. I tried various ways but couldnot succeed.
This is my snippet from my code

<ice:dataTable columnClasses="tablecol" border="1"
value="#{showConnectionsInfo.connectionInfo}" var="connection">
<ice:column style ="clientIdCol">
<f:facet name="header">
<iceutputText value="Client Id" />
</f:facet>
<iceutputText value="#{connectionInfo.clientID}"/>
</ice:column>
<ice:column>
<f:facet name="header">
<iceutputText value="Host Name" />
</f:facet>
<iceutputText value="#{connectionInfo.host}" />
</ice:column>
.....
</ice:dataTable>

i need to fix the width of the first column(prob it should warp when the colum reaches the said width) since it is too long and table is not readable.

Please let me know if anyone has come across such a situation and fixed the same.

Thanks in advance.

Mani


SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Column Width in ICEFACES
 
Similar Threads
Icefaces AUTO SORT TABLE example
Icefaces Datatable
DataTable and UploadFile
Populate a SelectOneMenu and others
IceFaces 1.8 dataTable-sort example gives error