Skip to content

Row expansion not working across table with multiple pages #692

@peteharverson

Description

@peteharverson

The expanding row functionality of tables for which selection has not been added does not work across a table with more than one page of rows.

The functionality inside the renderItemRow function of basic_table.js looks like it uses the row index as the identifier to associate the expanded row content with the parent row. However the row index seems to be reset to 0 for a new page (e.g. for a table with 20 items, 10 items per page, switch from page 1 to page 2, and the row IDs of page 2 are 0 - 9, not 10-19). The result is if you expand row 1 on page 1, then switch to page 2, the first row on page 2 is expanded, and it shows the expanded content of the first row on page 1.

Found in version 0.0.38

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions