Table Multiselect issue

Hello evryone,
i am facing a issue in vaadin.I want to create a table in which first column is a checkbox.I want to add afunctionality such that ,when check box is checked it highlights the row otherwise not.the highlighting should be dynamic and dependent on checkbox.We dont want to use iteration loop because possible number of rows in the table are more than 3000.

Hi!

You could add a
CellStyleGenerator
to your table. I assume you are not going to display every row at once (because that is not sane for over 3000 rows), so the styling for the cells/rows is only called when the items are loaded / shown in the table.
For the the row style to become updated whe you click the CheckBox (needs to be immediate), you could for instance add an invisible property (column) to your table and have that corresponding itemProperty modified every time the CheckBox changes.