Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Listrgrid cell click handler is firing on arrow up/down keypress

    Hi all,

    I'm using SmartGwt LGPL 12.1-p20241223 and I have this simple listgrid:

    Code:
    ListGrid grid = new ListGrid();
    grid.setFields(...);
    grid.setData(...);
    grid.addCellClickHandler(new CellClickHandler() {
        @Override
        public void onCellClick(CellClickEvent cellClickEvent) {
            GWT.log("cell clicked!");
        }
    });
    When I click on a cell in the grid, I get the expected output in the console, but the problem is that if I also use the up/down arrow keys, the cell click handler will also fire and print out the message.

    Is this expected behaviour or a bug?

    Best Regards
    Rasmus Nielsen

    #2
    I just want to mention that we were using 12.1-p20201202 before and did not have the same issue here.

    Comment

    Working...
    X