To do what you want, you might have to get the data provider's row keys and step through them one at a time.
Are you using a TableSelectPhaseListener? If so, you'd have to call the listener's setSelected(RowKey, Object) method to highlight the row.
You'd also have to call each checkbox's setSelected method to select the checkbox.
I've encountered similar problems, and this is the way I worked around it. It's not too bad if there aren't too many rows in the table.
Of course, there may be an easier way to do this, but I haven't found it yet.
Thanks for your advice Mr. John,
Firstly I am not using TableSelectPhaseListener.
Secondly I am having large no of records (More than 50,000), so Calling each checkbox's set selected method is not not a good idea,
I am trying hard to solve this issue but still couldn't find any solution on that
still if can find something please let me know!!!!
regards,
joshmachine