Skip to content

IgrGrid - selectedCells does not contain all the selected cells. #101

@norikois

Description

@norikois

Description

IgrGrid - selectedCells does not contain all the selected cells.
The corresponding Igc-Grid's bug is IgniteUI/igniteui-webcomponents#1721.
Please make sure this issue is also fixed in IgrGrid after the corresponding web-components bug is fixed.

Steps to reproduce

  1. Start the attached reproducible sample.
  2. Click the "1" at the ID = 1 cell to select the cell.
  3. Scroll down to ID = 20.
  4. [Shift] + Click the "20" at the ID = 20 to select all the ID cells from ID=1 to ID=20
  5. Click "Button" button.
    -> Observe what is displayed in the browser's console.

Result

Selected cells count: 6
Selected cell values: 15, 16, 17, 18, 19, 20
Note: These "6" and "15, 16, 17, 18, 19, 20" depend on which rows are displayed in the view. These are the results when the first row in the view is ID=15. If it is ID=17, the results will be "4" and "17, 18, 19, 20".

Expected result

Selected cells count: 20
Selected cell values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20

Attachments

c00243010-reactApp3.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions