iamarino / jquery-datatables-editable

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

rowData is not defined #136

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm trying to use the latest version of the jquery dataTables editable 
javascript file (jquery.dataTables.editable.2.3.3.js) and I'm getting an error 
I did not get with earlier versions.

The error is "rowData is undefined" when I try to add a new row (through form) 
or edit an existing row (through a form using the code in 
http://jquery-datatables-editable.googlecode.com/svn/trunk/ajax-popupedit.html 
(Editing data in the popup window(Beta)).

The error appears in the fnOnRowAdded function when adding row and in the 
fnUpdateRowOnSuccess function when editing a row.

I'm not an expert in javascript, but it seems to me that indeed rowData never 
gets defined ih either of the functions.

I'm using client side processing (no server connection).

The initialization of my table is in the attached file.

Original issue reported on code.google.com by ioannis....@gmail.com on 2 Nov 2012 at 3:54

Attachments:

GoogleCodeExporter commented 8 years ago
forgot to mention I am using latest version of jquery datatables (1.9.4). This 
is a problem similar to that of issue 114

Original comment by ioannis....@gmail.com on 2 Nov 2012 at 4:17

GoogleCodeExporter commented 8 years ago
As in issue 114, problem does not exist if you use jquery datatables version 
1.9.0.

Original comment by ioannis....@gmail.com on 2 Nov 2012 at 4:31

GoogleCodeExporter commented 8 years ago
I have the same problem... @joannis did you resolve it?..

Original comment by luisf.ro...@gmail.com on 20 Oct 2013 at 8:59

GoogleCodeExporter commented 8 years ago
I used version 1.9.0 of jquery datatables for that project and it worked. I 
haven't used it again since then, so I don't know if it has been fixed.

Original comment by ioannis....@gmail.com on 21 Oct 2013 at 4:46

GoogleCodeExporter commented 8 years ago
I confirm the bug is still present in datatables v1.9.4 and dataTables.editable 
v2.3.3.

I downgraded to datatables 1.9.0 and it is now ok.

Original comment by legrand....@gmail.com on 23 Oct 2013 at 12:20

GoogleCodeExporter commented 8 years ago
It is sad. :(   Since all works fine but the creation of rows, I had to hide 
the automatic "New" button, and implement my own form and callback, then I use 
the client events of the datatable and add the row manually.. 

Original comment by luisf.ro...@gmail.com on 23 Oct 2013 at 10:00

GoogleCodeExporter commented 8 years ago
I wish to notify you that this problem still exist. I am using jquery version 
1.10.1 and dataTables.editable version 2.3.3. When i try to add new row it 
gives the following error 
ReferenceError: rowData is not defined  

rtn = oTable.fnAddData(rowData);

I look forward to your answer.
Thanks so much.

Original comment by aadew...@gmail.com on 3 Jul 2014 at 3:52

GoogleCodeExporter commented 8 years ago
I hve the same issue and the same versions as #7 above. I cannot roll back to 
1.9.0

Original comment by pompsto...@gmail.com on 13 Jul 2014 at 12:41