lundi 21 juin 2021

Header (select all) checkbox does not stay checked

we are using Vaadin 8 and we have a multi select grid. In the header there is a checkbox present which acts as a select / deselect all checkbox. The problem is that the header checkbox does not stay checked after the window is closed. E.g. if the window is opened, the header checkbox is checked -> all other checkboxes are checked, the window is then closed and opened again he header checkbox is unchecked again. Is there a method to manually set the header checkbox value, or any other workaround? We work with a data provider object and upon the button click the selected items are saved, but we have no way of accessing (or we do not know of a way of accessing) the header checkbox.




Aucun commentaire:

Enregistrer un commentaire