I am coding in JSF and I rendered a table using the
<h:dataTable ...> tag.

Because once a row is selected, I need the cell value
in some columns (poeColumn, distanceColumn, and
directionColumn). But those columns have to be hidden
in the web page according to client's requirement. 
For I need the cell values of the hidden columns, I
cannot use the rendered="false" attribute.

What I tried was 

<h:dataTable .... columnClasses="codeColumn,
descriptionColumn, poeColumn, distanceColumn,
directionColumn" ....>


and render all columns. In my CSS, I have

.poeColumn{ display:none;}
.distanceColumn{ display:none;}
.directionColumn{ display:none;}


although the 'values' in those columns are hidden, I
cannot get rid of the 'heading' of those columns (I
did not even specify the 'header').

What is wrong? What should I do? 


       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

Reply via email to