angular-ui/ui-grid

A problematic watch

Open

#5,583 opened on Jul 26, 2016

View on GitHub
 (2 comments) (3 reactions) (0 assignees)JavaScript (2,496 forks)batch import
help wantedseverity: performance

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Please pay attention that such watches as ng-style=\"{ 'margin-left': colContainer.getMargin('left') + 'px'
on line 28204

that calls the following method on each digest cycle GridRenderContainer.prototype.getMargin = function getMargin(side)

create a huge overhead.

Contributor guide