Description
Hi,
I noticed that ui-grid dataWatchFunction rebuilds all columns and pre-compiles cell templates each time data is changed (see: ui-grid.js:109).
My understanding is that after the columns/cell templates have been built/compiled once then they do not need to be built/compiled again unless the column definitions change in any way.
There's already a watcher on the column definitions (see: columnDefsWatchFunction) that does this job already.
From my experiences, not building/compiling columns/cell-template each time data changes can improve performance significantly for grids that update data often.
Question: Is there any possible reason why columns need to be built each time data changes?
If not, i'm more than happy to submit a pull request to add this improvement!
Thanks