angular-ui/ui-grid

RowSorter cache is global for all grids

Open

#4683 aperta il 12 nov 2015

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wanted

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

RowSorter’s colSortFnCache is global for all grids.

The first time a column sort function is found using getSortFn it will cached using the column name as a key. This cached function will be used for any other columns with the same name throughout the app.

I would not expect the configuration of one grid to have this global effect.

Guida contributor