This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Column Width in ICEFACES Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Column Width in ICEFACES
 
Similar Threads
Icefaces AUTO SORT TABLE example
Icefaces Datatable
IceFaces 1.8 dataTable-sort example gives error
Populate a SelectOneMenu and others
DataTable and UploadFile