@@ -10,7 +10,7 @@ export class IgxTreeGridSelectionService extends IgxGridSelectionService {
10
10
private rowsToBeIndeterminate : Set < any > ;
11
11
12
12
/** Select specified rows. No event is emitted. */
13
- selectRowsWithNoEvent ( rowIDs : any [ ] , clearPrevSelection ?) : void {
13
+ public selectRowsWithNoEvent ( rowIDs : any [ ] , clearPrevSelection ?) : void {
14
14
if ( this . grid && this . grid . rowSelection === GridSelectionMode . multipleCascade ) {
15
15
this . cascadeSelectRowsWithNoEvent ( rowIDs , clearPrevSelection ) ;
16
16
return ;
@@ -19,7 +19,7 @@ export class IgxTreeGridSelectionService extends IgxGridSelectionService {
19
19
}
20
20
21
21
/** Deselect specified rows. No event is emitted. */
22
- deselectRowsWithNoEvent ( rowIDs : any [ ] ) : void {
22
+ public deselectRowsWithNoEvent ( rowIDs : any [ ] ) : void {
23
23
if ( this . grid . rowSelection === GridSelectionMode . multipleCascade ) {
24
24
this . cascadeDeselectRowsWithNoEvent ( rowIDs ) ;
25
25
return ;
@@ -56,7 +56,7 @@ export class IgxTreeGridSelectionService extends IgxGridSelectionService {
56
56
if ( ! parents . size ) {
57
57
this . rowSelection = new Set ( this . rowsToBeSelected ) ;
58
58
this . indeterminateRows = new Set ( this . rowsToBeIndeterminate ) ;
59
- // TO DO : emit selectionChangeD event, calculate its args through the handleAddedAndRemovedArgs method
59
+ // TODO : emit selectionChangeD event, calculate its args through the handleAddedAndRemovedArgs method
60
60
this . clearHeaderCBState ( ) ;
61
61
this . selectedRowsChange . next ( ) ;
62
62
return ;
@@ -71,7 +71,7 @@ export class IgxTreeGridSelectionService extends IgxGridSelectionService {
71
71
this . updateCascadeSelectionOnFilterAndCRUD ( newParents , null , visibleRowIDs ) ;
72
72
}
73
73
74
- cascadeSelectRowsWithNoEvent ( rowIDs : any [ ] , clearPrevSelection ?: boolean ) : void {
74
+ private cascadeSelectRowsWithNoEvent ( rowIDs : any [ ] , clearPrevSelection ?: boolean ) : void {
75
75
if ( clearPrevSelection ) {
76
76
this . indeterminateRows . clear ( ) ;
77
77
this . rowSelection . clear ( ) ;
@@ -92,7 +92,7 @@ export class IgxTreeGridSelectionService extends IgxGridSelectionService {
92
92
this . selectedRowsChange . next ( ) ;
93
93
}
94
94
95
- cascadeDeselectRowsWithNoEvent ( rowIDs : any [ ] ) : void {
95
+ private cascadeDeselectRowsWithNoEvent ( rowIDs : any [ ] ) : void {
96
96
const args = { added : [ ] , removed : rowIDs } ;
97
97
this . calculateRowsNewSelectionState ( args ) ;
98
98
@@ -143,8 +143,6 @@ export class IgxTreeGridSelectionService extends IgxGridSelectionService {
143
143
}
144
144
145
145
146
-
147
-
148
146
/**
149
147
* retrieve the rows which should be added/removed to/from the old selection
150
148
*/
0 commit comments