the select() method of grid doesn’t work .the grid isn’t been selected when show in the UI using the method select(item).
Hi Guo. You have probably this bug https://github.com/vaadin/vaadin-grid-flow/issues/323, you give thumbs up and add comments in issue tracker.