kenxran / jquery-datatables-editable

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

Ajax source with mDataProp (JSON) do not generate the attribute "id" for each "tr" (first column). #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a DataTable from Ajax using mDataProp (JSON) for aoColumns.

What is the expected output?
The first column "id" of each "tr" attribute should be generated according to 
documentation.

What do you see instead?
The "id" attributes isn't generated.

What version of the product are you using? On what operating system?
jquery.dataTables.min.js - 1.8.1
jquery.dataTables.editable.js - 1.3
Linux - 2.6.39.3

Please provide any additional information below.
If instead I use a structure like that 
http://jquery-datatables-editable.googlecode.com/svn/trunk/ajax_source.js (just 
an array) everything works as expected.

Original issue reported on code.google.com by leonelfr...@gmail.com on 20 Jul 2011 at 2:37

GoogleCodeExporter commented 9 years ago
This is feature that is added in the datatable 1.8. DataTables Editable Plugin 
is initially created for 1.7. where this was not possible but i have not added 
suport for this new feature.

Original comment by joc...@gmail.com on 20 Aug 2011 at 8:38

GoogleCodeExporter commented 9 years ago
If you are using array of objects please use TD_row id attribute.

Thnaks,
Jovan

Original comment by joc...@gmail.com on 15 Sep 2011 at 9:33

GoogleCodeExporter commented 9 years ago
Example is on the 
http://jquery-datatables-editable.googlecode.com/svn/trunk/ajax_mDataProp.html

Original comment by joc...@gmail.com on 15 Sep 2011 at 10:20

GoogleCodeExporter commented 9 years ago

Original comment by joc...@gmail.com on 22 Sep 2011 at 8:42

GoogleCodeExporter commented 9 years ago
This is still an issue. When I use mdataprop with makeEditable, the table 
simply does not work.

Original comment by aiesec....@gmail.com on 1 Feb 2012 at 6:55

GoogleCodeExporter commented 9 years ago
Example is on the 
http://jquery-datatables-editable.googlecode.com/svn/trunk/ajax_mDataProp.html

Throws the following error;

rowData is not defined

Line 473

Original comment by r3design...@gmail.com on 13 Aug 2012 at 10:13