Closed stebogit closed 8 years ago
@StefanoGitHub, I've no idea currently, but I'll check this out by your codes. Thanks
@StefanoGitHub, the data of table in MapIndexTable
has some problem. You missing the ID
field in mapsIndex
. Because missing rowkey, so that react-bootstrap-table
doesn't know which row be selected
you're right! such a dumb mistake. now it works fine.
Hi @stebogit @AllenFang , How to solve this issue? I am still facing the same problem even after specifying the id
field. It actually selects only one row but all the checkbox are selected.
Found the solution. The isKey
property should be set to true
for id
field and not for others as initially I had it for some other field.
HI @AllenFang, I encountered this strange behaviour, that is in only one of the three almost identical tables I have when clicking a row/checkbox all the rows get selected/unselected! Even if it doesn't make a lot of sense to me, after a lot of debugging the problem seems to be the data I pass to the table. Do you see anything wrong in my code?
For brevity I post only two of the table,
MapIndexTable
being the one with the problem: