Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue May 24, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Accepted
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant