bacsa / jquery-datatables-editable

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

TypeError: cells.editable is not a function #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. load a DataTable with server-side processing
2. apply  $('#TableData').dataTable().makeEditable();
3. firefox console shows 'TypeError: cells.editable is not a function' in line 
238 of jquery.dataTables.editable.js - cells.editable(properties.sUpdateURL, 
oDefaultEditableSettings);

What is the expected output? What do you see instead?
DataTable should become editable, but the program hangs showing 'Processing' 
message in the table area

What version of the product are you using? On what operating system?
jquery 1.7.2
jquery mobile 1.1.0
jquery.dataTables 1.9.3
jquery.dataTables.editable 1.3

Please provide any additional information below.

just displaying the dataTable works fine (including navigation, sorting, 
filtering ...)

Original issue reported on code.google.com by evertspi...@gmail.com on 11 Aug 2012 at 7:00

GoogleCodeExporter commented 9 years ago
no longer an issue - adding a reference to the jeditable library solved the 
problem

Original comment by evertspi...@gmail.com on 11 Aug 2012 at 7:12

GoogleCodeExporter commented 9 years ago
Where did u add the reference .. U mean just including the library in the 
script?

Original comment by gaurangj...@gmail.com on 24 Apr 2015 at 7:22

GoogleCodeExporter commented 9 years ago
I'm using the following versions:

script src="scripts/jquery-2.1.4.js" type="text/javascript"></script>
 <script src="scripts/jquery.dataTables-1.10.7.js" type="text/javascript"></script>
 <script src="scripts/jquery.dataTables.editable-2.3.3.js" type="text/javascript"></script>

I got the same error.....can someone help me?

Original comment by jose.ala...@gmail.com on 20 Jun 2015 at 12:22

GoogleCodeExporter commented 9 years ago
You need to download and include in page library Jeditable

http://www.appelsiini.net/projects/jeditable 
http://www.appelsiini.net/download/jquery.jeditable.js

Original comment by 4e.m...@gmail.com on 21 Jun 2015 at 6:01