"Select All" checkbox bug
- Ngôn ngữ chính
- TypeScript
- Star
- 1.6k
- Fork
- 867
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.