@esfaenza/es-table 15.2.8 → 15.2.9
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.
|
@@ -4756,12 +4756,12 @@ class EsTableComponent {
|
|
|
4756
4756
|
*/
|
|
4757
4757
|
resetSelection(emit = false) {
|
|
4758
4758
|
this.selection_H.clearSelectionCaches();
|
|
4759
|
-
if (this.View
|
|
4759
|
+
if (this.viewMode && this.View) {
|
|
4760
4760
|
this.View.selection = new ItemsSelection([]);
|
|
4761
4761
|
if (emit)
|
|
4762
4762
|
this.onSelectionChanged.emit(this.View.selection);
|
|
4763
4763
|
}
|
|
4764
|
-
else if (this.
|
|
4764
|
+
else if (this.arrayMode) {
|
|
4765
4765
|
this.arraymodeSelection = new ItemsSelection([]);
|
|
4766
4766
|
if (emit)
|
|
4767
4767
|
this.onSelectionChanged.emit(this.arraymodeSelection);
|