2 Replies Latest reply on Mar 18, 2008 3:00 PM by Rulin Sun

    scrollableDataTable and selection when sorting

    Joel Meurisse Newbie

      Select a row of a scrollableDataTable, e.g. the first one. When sorting the table, the first record will remain selected, even if it is another record...

      see http://livedemo.exadel.com/richfaces-demo/richfaces/scrollableDataTable.jsf?c=scrollableDataTable

      I think it is more usefull to hold the selected data, and not the index of the selected row. So, e.g. if you select a Chevrolet Corvette in the demo, and you sort by 'Price', you still have the same Chevrolet Corvette selected, but it might be another row in the table.

      Joel