Event when DataTables function fnAddData() is used

nastek

New Member
I'm using DataTables in combination with Backbone.js Views, Colletions and Models.I have two Backbone Views, each with a DataTable. When I push a button, the selected row from view1 needs to be added to view2.At the moment I'm just adding and removing the rows from the tables. Now here is my problem: I'm using two collections, one in view1 where I can call the delete function on and one in view2. I can't access the collection of view2 in my view1.So I thought, maybe, the fnAddData() function triggers an event, but I can't find it anywhere.Does anyone know how to solve this? Or a workaround is fine too.
 
Back
Top