kelvinguerrero / jquery-datatables-editable

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

makeEditable() on two tables in the same page #181

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have two dataTables in the same page and I'm trying to edit them both using 
jEditable. But only one of those tables can be editable and the other wouldn't 
work. Is this a known issue?

            $('#Table1').dataTable().makeEditable({
                "aoColumns": [
                    { 
                        tooltip: "Double click to edit",
                        indiactor: 'Saving...',
                        onblur: 'submit'
                    }, null
                ],

                "sUpdateURL": 'EditTable1'
            });

$('#Table2').dataTable().makeEditable({
                "aoColumns": [
                    { 
                        tooltip: "Double click to edit",
                        indiactor: 'Saving...',
                        onblur: 'submit'
                    }, null
                ],

                "sUpdateURL": 'EditTable2'
            });

Editing Table2 works fine but editing Table1 would do nothing at all.

Original issue reported on code.google.com by SHVETA...@gmail.com on 18 Mar 2015 at 10:32

GoogleCodeExporter commented 8 years ago
1

Original comment by mayzinmy...@gmail.com on 8 Apr 2015 at 5:41