Ajit,

I have created a wiki page [1] that covers this. Please see especially my definition of dataTable and the rowStyleClass attribute in particular.

[1] http://wiki.apache.org/myfaces/ManagingDataScrollerPage

Regards,

Jeff Bischoff
Kenneth L Kurz & Asociates, Inc.

Ajit.T wrote:
Hi ,
    I have a requirement , wherein I click on one of the row of the
dataTable to view a document in right frame to the datable contained frame.
The Background color of the clicked row is to be changed , and this change
in color should persists until a next row in datatable is clicked. i.e at
any point of time have only one row clicked.

What could be the workaround for resetting the previous style class of row ,
when a new row is clicked? My rows of datatable have alternately two style
classes as of now .

HTH
Ajit




Reply via email to