@ai-table/grid 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11264,7 +11264,7 @@ function toggleSelectRecord(aiTable, recordId) {
|
|
11264
11264
|
function toggleSelectAllRecords(aiTable, checked) {
|
11265
11265
|
if (checked) {
|
11266
11266
|
setSelection(aiTable, {
|
11267
|
-
selectedRecords: new Set(aiTable.
|
11267
|
+
selectedRecords: new Set(aiTable.gridData().records.map((item) => item._id))
|
11268
11268
|
});
|
11269
11269
|
}
|
11270
11270
|
else {
|