angular-ui/ui-grid

RowSorter cache is global for all grids

Open

#4,683 opened on Nov 12, 2015

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
help wanted

Description

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.

Contributor guide