@@ -209,11 +209,11 @@ export class SlickRowDetailView extends UniversalSlickRowDetailView {
209
209
// hook some events needed by the Plugin itself
210
210
211
211
// we need to redraw the open detail views if we change column position (column reorder)
212
- this . eventHandler . subscribe ( this . _grid . onColumnsReordered , ( ) => this . redrawAllViewComponents ( ) ) ;
212
+ this . eventHandler . subscribe ( this . _grid . onColumnsReordered , this . redrawAllViewComponents . bind ( this , false ) ) ;
213
213
214
214
// on row selection changed, we also need to redraw
215
215
if ( this . gridOptions . enableRowSelection || this . gridOptions . enableCheckboxSelector ) {
216
- this . eventHandler . subscribe ( this . _grid . onSelectedRowsChanged , ( ) => this . redrawAllViewComponents ( ) ) ;
216
+ this . eventHandler . subscribe ( this . _grid . onSelectedRowsChanged , this . redrawAllViewComponents . bind ( this , false ) ) ;
217
217
}
218
218
219
219
// on sort, all row detail are collapsed so we can dispose of all the Views as well
@@ -223,7 +223,7 @@ export class SlickRowDetailView extends UniversalSlickRowDetailView {
223
223
this . _subscriptions . push (
224
224
this . eventPubSubService ?. subscribe (
225
225
[ 'onFilterChanged' , 'onGridMenuColumnsChanged' , 'onColumnPickerColumnsChanged' ] ,
226
- ( ) => this . redrawAllViewComponents ( )
226
+ this . redrawAllViewComponents . bind ( this , false )
227
227
) ,
228
228
this . eventPubSubService ?. subscribe ( [ 'onGridMenuClearAllFilters' , 'onGridMenuClearAllSorting' ] , ( ) =>
229
229
window . setTimeout ( ( ) => this . redrawAllViewComponents ( ) )
0 commit comments