warpech/jquery-handsontable — pull request #233 by thanpolas (2012-11-12 12:45:13+00:00)
Title: Cells callback bug on initialization of handsontable

When `handsontable` initializes and the `cells` param is set with a callback, two issues appear:

1. The callback is invoked two times for each cell. I think this is not needed on initialization. (It can get ugly with large datasets). (thanpolas@90d21f2)

2. The callback is invoked with bogus column indexes. On structured data that contain N columns, the callback is invoked with N or N+1 as the column index. It should not have a value larger than N-1. (thanpolas@02d453b7)

Check out the illustration of the bug in [this fiddle](http://jsfiddle.net/thanpolas/5vgbY/1/)