aulariosergio / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

event handling #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Thanks very much for your work!

And I get a problem when using the plugin:
when I create datatables in the same page for many times(like 
$("#button").click($("#table").dataTable().makeEditable());)
Events will stack. So when add or delete a row, it will trigger the event more 
than one time. 

In the latest version 1.3.,I notice that you have solve the problem by adding 
the code like this:
                    oAddNewRowForm.unbind('submit');
but before 
                    $("tbody", oTable).click(function (event) {
and 
                    oDeleteRowButton.click(_fnOnRowDelete);
you do not do that again and why?

Original issue reported on code.google.com by nanluo2...@gmail.com on 8 Mar 2012 at 8:43

GoogleCodeExporter commented 9 years ago
Hi,

I'm glad that you like it. however, the latest version is 2.2. so could you 
take this version. 1.3 is packed with offline examples but the latest version 
is on the live demo.

Jovan

Original comment by joc...@gmail.com on 9 Mar 2012 at 11:53