"Select All" checkbox bug
- Langage dominant
- TypeScript
- Étoiles
- 1.6k
- Forks
- 867
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
When using multi select mode, I click the select all check box in the header.
Every row on the page gets selected. (which is correct)
Then I do something that reloads the table:
LocalDataSource.load(newData)
The selected row check boxes reset to unchecked (which is correct), but the select all check box in the header is still checked.
This can be cleared by calling the resetAllSelector() function found at ng2-smart-table.components.ts
This function is called when manually changing a page, sorting, or filtering but not if you change page, sort, or filter by calling the functions on LocalDataSource.
Please call resetAllSelector() whenever LocalDataSource.load() is called.
I've tried some workarounds, but calling LocalDataSource.reset() and LocalDataSource.refresh() also do not fix this. Maybe those should call resetAllSelector() as well?
Please let me know if I can help further.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.