You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "some rows selected" checks were simplified to mean "at least one row is selected":
683
+
684
+
| API | v8 | v9 |
685
+
|-----|-----|-----|
686
+
|`table.getIsSomeRowsSelected()`|`true` when some but not all rows are selected |`true` when at least one row is selected |
687
+
|`table.getIsSomePageRowsSelected()`|`true` when some but not all page rows are selected |`true` when at least one page row is selected |
688
+
689
+
In v8 these returned `false` once every row was selected; in v9 they stay `true`. If you use them to drive an indeterminate "select all" checkbox, gate the indeterminate state on the matching all-selected check so it clears at full selection:
Copy file name to clipboardExpand all lines: docs/framework/lit/guide/migrating.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -549,6 +549,19 @@ const features = tableFeatures({
549
549
550
550
Underscore-prefixed APIs that are now public should be called without `_`, such as `row.getAllCellsByColumnId()`.
551
551
552
+
### Row Selection API Changes
553
+
554
+
The "some rows selected" checks were simplified to mean "at least one row is selected":
555
+
556
+
| API | v8 | v9 |
557
+
|-----|-----|-----|
558
+
|`table.getIsSomeRowsSelected()`|`true` when some but not all rows are selected |`true` when at least one row is selected |
559
+
|`table.getIsSomePageRowsSelected()`|`true` when some but not all page rows are selected |`true` when at least one page row is selected |
560
+
561
+
In v8 these returned `false` once every row was selected; in v9 they stay `true`. If you use them to drive an indeterminate "select all" checkbox, gate the indeterminate state on the matching all-selected check so it clears at full selection:
Copy file name to clipboardExpand all lines: docs/framework/preact/guide/migrating.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -532,6 +532,19 @@ const features = tableFeatures({
532
532
533
533
Several underscore-prefixed APIs are now public without the underscore. For example, `row._getAllCellsByColumnId()` becomes `row.getAllCellsByColumnId()`.
534
534
535
+
### Row Selection API Changes
536
+
537
+
The "some rows selected" checks were simplified to mean "at least one row is selected":
538
+
539
+
| API | v8 | v9 |
540
+
|-----|-----|-----|
541
+
|`table.getIsSomeRowsSelected()`|`true` when some but not all rows are selected |`true` when at least one row is selected |
542
+
|`table.getIsSomePageRowsSelected()`|`true` when some but not all page rows are selected |`true` when at least one page row is selected |
543
+
544
+
In v8 these returned `false` once every row was selected; in v9 they stay `true`. If you use them to drive an indeterminate "select all" checkbox, gate the indeterminate state on the matching all-selected check so it clears at full selection:
Copy file name to clipboardExpand all lines: docs/framework/react/guide/migrating.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -935,6 +935,19 @@ Some row APIs have changed from private to public:
935
935
936
936
If you were accessing this internal API, you can now use it without the underscore prefix.
937
937
938
+
### Row Selection API Changes
939
+
940
+
The "some rows selected" checks were simplified to mean "at least one row is selected":
941
+
942
+
| API | v8 | v9 |
943
+
|-----|-----|-----|
944
+
|`table.getIsSomeRowsSelected()`|`true` when some but not all rows are selected |`true` when at least one row is selected |
945
+
|`table.getIsSomePageRowsSelected()`|`true` when some but not all page rows are selected |`true` when at least one page row is selected |
946
+
947
+
In v8 these returned `false` once every row was selected; in v9 they stay `true`. If you use them to drive an indeterminate "select all" checkbox, gate the indeterminate state on the matching all-selected check so it clears at full selection:
Copy file name to clipboardExpand all lines: docs/framework/solid/guide/migrating.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -510,6 +510,19 @@ const features = tableFeatures({
510
510
511
511
Underscore-prefixed APIs that are now public should be called without `_`, such as `row.getAllCellsByColumnId()`.
512
512
513
+
### Row Selection API Changes
514
+
515
+
The "some rows selected" checks were simplified to mean "at least one row is selected":
516
+
517
+
| API | v8 | v9 |
518
+
|-----|-----|-----|
519
+
|`table.getIsSomeRowsSelected()`|`true` when some but not all rows are selected |`true` when at least one row is selected |
520
+
|`table.getIsSomePageRowsSelected()`|`true` when some but not all page rows are selected |`true` when at least one page row is selected |
521
+
522
+
In v8 these returned `false` once every row was selected; in v9 they stay `true`. If you use them to drive an indeterminate "select all" checkbox, gate the indeterminate state on the matching all-selected check so it clears at full selection:
Copy file name to clipboardExpand all lines: docs/framework/svelte/guide/migrating.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -587,6 +587,19 @@ const features = tableFeatures({
587
587
588
588
Underscore-prefixed APIs that are now public should be called without `_`, such as `row.getAllCellsByColumnId()`.
589
589
590
+
### Row Selection API Changes
591
+
592
+
The "some rows selected" checks were simplified to mean "at least one row is selected":
593
+
594
+
| API | v8 | v9 |
595
+
|-----|-----|-----|
596
+
|`table.getIsSomeRowsSelected()`|`true` when some but not all rows are selected |`true` when at least one row is selected |
597
+
|`table.getIsSomePageRowsSelected()`|`true` when some but not all page rows are selected |`true` when at least one page row is selected |
598
+
599
+
In v8 these returned `false` once every row was selected; in v9 they stay `true`. If you use them to drive an indeterminate "select all" checkbox, gate the indeterminate state on the matching all-selected check so it clears at full selection:
Copy file name to clipboardExpand all lines: docs/framework/vue/guide/migrating.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -533,6 +533,19 @@ const features = tableFeatures({
533
533
534
534
Underscore-prefixed APIs that are now public should be called without `_`, such as `row.getAllCellsByColumnId()`.
535
535
536
+
### Row Selection API Changes
537
+
538
+
The "some rows selected" checks were simplified to mean "at least one row is selected":
539
+
540
+
| API | v8 | v9 |
541
+
|-----|-----|-----|
542
+
|`table.getIsSomeRowsSelected()`|`true` when some but not all rows are selected |`true` when at least one row is selected |
543
+
|`table.getIsSomePageRowsSelected()`|`true` when some but not all page rows are selected |`true` when at least one page row is selected |
544
+
545
+
In v8 these returned `false` once every row was selected; in v9 they stay `true`. If you use them to drive an indeterminate "select all" checkbox, gate the indeterminate state on the matching all-selected check so it clears at full selection:
0 commit comments