react-bootstrap-table / react-bootstrap-table2

Next Generation of react-bootstrap-table
https://react-bootstrap-table.github.io/react-bootstrap-table2/
MIT License
1.27k stars 431 forks source link

[Bug] Expand Indicator is Always Shown For All Rows #547

Open lykaiowang opened 6 years ago

lykaiowang commented 6 years ago
Version: 1.1.4
Context:
Issue:
AllenFang commented 6 years ago

@lykaiowang sorry for lately reply, I will look into on it and thanks your contribution.

adamistheanswer commented 3 years ago

This bug is still present in

"react-bootstrap-table-next": "4.0.3",
"react-bootstrap-table2-editor": "1.4.0",
"react-bootstrap-table2-filter": "1.3.3",
"react-bootstrap-table2-overlay": "2.0.0",
"react-bootstrap-table2-paginator": "2.1.2",
"react-bootstrap-table2-toolkit": "2.1.3"

The index array which is passed to nonExpandable seems to have no effect on which rows can or cannot be expanded.

Also rowKey returned from expandColumnRenderer is always undefined and expandable is always true.