myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beelen, Marco" <marco_bee...@merck.com>
Subject RE: Question about using dataTable
Date Tue, 23 Jan 2007 10:35:56 GMT
Hello Thomas,
 
Add the attribute rowClasses to the datatable with two comma-seperated classname for the odd
and even-rows.
 
<t:dataTable 
    value="#{collection}" var="varName" 
    rowClasses="classForOddRows, classNameForEvenRows">

    .....
    .....

</t:dataTable>

With kind regards,

    Marco

 

________________________________

From: Thomas Chang [mailto:thomas2004ch@yahoo.de] 
Sent: dinsdag 23 januari 2007 11:03
To: MyFaces Discussion
Subject: Question about using dataTable


Hi,

How can I configue the dataTable so the even number and odd-number line has different background
color?

Thomas


________________________________

Der neue Internet Explorer 7 in deutscher Ausf├╝hrung ist da <http://de.rd.yahoo.com/evt=44263/*http://de.downloads.yahoo.com/internetexplorer/index.php>
!

------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

------------------------------------------------------------------------------
Mime
View raw message