gdepourtales / ng-cells

AngularJS Table directive that draws a table of data with different features
http://gdepourtales.github.io/ng-cells/
Other
77 stars 17 forks source link

Defect/display issue when scroll index is out of bounds after data update #2

Closed kayhadrin closed 10 years ago

kayhadrin commented 10 years ago

Hi there,

I'm submitting some code changes to fix a situation where the ng-cells content would not be displayed properly when we set a new "data" array that is smaller than the previous one and the user had scrolled down to an index that no longer exists in that smaller data array.

Feel free to let me know if you have any questions.

Regards,

David

gdepourtales commented 10 years ago

Hi

Thanks a lot. Will check it as soon as I have some time