enyojs/moonstone — pull request #1363 by DavidUM (2014-06-09 08:54:19+00:00)
Title: BHV-10114 Updata metrics after collection changed.

Especially in dataGridList, after model added or removed then HandleSpotlightFocus() is not working well.
When you press down from bottom item, it should scroll a single row.
However after some models are added, it scrolls two rows and you can see spotlight focus.
(It is out of view port)

When collection is changed, list.indexBoundFirstRow and list.indexBoundLastRow should be updated too.
To resolve this, I calls updateMetrics when model is added or removed

Enyo-DCO-1.1-Signed-off-by: David Um david.um@lge.com