Skip to content

Row Selection does not work correctly in Gridx on double click #440

@tansihede

Description

@tansihede

Hi Team,

We are using Gridx in one of our application and are facing below issue during row selection in Grid

Steps to reproduce issue-

  1. Select the first row in the grid by mouse double click and change the value from dropdown which is bound to one of the column in the grid.
  2. Next select the second row in the grid by mouse double click
  3. This time the mouse pointer will skip the second row and jump to the third row instead of jumping on the second row.

Expected Behavior: Mouse pointer should jump correctly on the selected row which in above case should be the second row.

Could anyone help if this is known issue of Gridx code. Is there any way or code fix or any alternate solution by which we can solve the issue?

Issue Reproducible on

  • OS : Windows 10
  • Gridx Version: 1.3.8
  • Chrome Version: 92.0.4515.107

I suspect the issue is coming from _onSelectionChange() function from gridx/modules/extendedSelect/_Base.js file which calls getSelected() function from gridx/modules/extendedSelect/Row.js to get the selected rows that returns two selectedIds instead of returning the single Id thus affecting the selection.

Any kind of input pointers/suggestions would be highly appreciated.

Thanks,
Tansi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions