vaadin-component-factory / selection-grid-flow

Add the functionality to Vaadin Grid to focus on a particular row and column and select a range of rows with SHIFT/CTRL Click
https://incubator.app.fi/selection-grid-flow-demo/
Apache License 2.0
5 stars 8 forks source link

SelectionGrid focusOnCell doesn't work for the first row #17

Open kshashov opened 3 years ago

kshashov commented 3 years ago

Hi there,

We found that SelectionGrid#focusOnCell doesn't work for the row with index 0. Is this a typo? https://github.com/vaadin-component-factory/selection-grid-flow/blob/1071137ea4d8f3ac0b3242f465186da39bb62743/selection-grid-flow/src/main/java/com/vaadin/componentfactory/selectiongrid/SelectionGrid.java#L103-L110

The bug is reproducible even on demo: selection_grid_focus