I have a datagrid with some columns including id, client etc
The container and grid is created from code like this
Now when I select some rows and the respective ids are saved in a list
Now when i go to next page and come back to previous page i need to select the rows based on the id list. Basically how can i maintain the selection during pagination
Tried dataGrid.setSelected and thrown IllegalStateException: Datasource doesn’t contain items error