Backbone Collection

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

You are correct, this is a bug and will be fixed in the next version.

You can grab dev. build, where the above issue is fixed
https://s3.amazonaws.com/uploads.hipchat.com/15721/61242/YBe6dbSdkr0LuPJ/webix_1.4.2.zip

It works now, thank you!