tomasweigenast / paged-datatable

A DataTable widget for Flutter that supports cursor/offset pagination, filters and sorting
https://pub.dev/packages/paged_datatable
MIT License
15 stars 11 forks source link

Bug when I remove two rows consecutively #15

Closed wistian1996 closed 3 months ago

wistian1996 commented 7 months ago

Olá, aparentemente quando eu chamo a função "tableController.removeRow", funciona perfeitamente na primeira chamada, mas na segunda vez, a tabela fica confusa e não remove a linha correta.

tomasweigenast commented 7 months ago

Can you describe the problem better? What happens when you call twice tableController.removeRemove?

wistian1996 commented 7 months ago

Sorry for not describing the problem better.

https://github.com/tomasweigenast/paged-datatable/assets/23040335/7c9cc20e-514c-4fa2-af47-b850affbaabf

look, when removing a row, works on the first time, the second time the indexing seems to be incorrect

tomasweigenast commented 3 months ago

Please try the new pre-release version @wistian1996