Hello,
It seems that the DataTable works well with the Backbone Collection when the collection is loaded using .fetch() method.
But if the collection is filled using .add() method, then DataTable does not shows the data.
The code looks like the following:
films.add(filmsArray[0]);
films.add(filmsArray[1]);
films.add(filmsArray[2]);
films.add(filmsArray[3]);
films.add(filmsArray[4]);
films.add(filmsArray[5]);
grida.sync(films);
The full sample code can be downloaded here:
http://zsksoft.com/heap/BackboneCollection.zip
I suppose that the DataTable must shows the collection data in both cases. Am I wrong?
Sincerely,
Sergey Zyryanov