manchiang / jquery-datatables-editable

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

editable does not work well with mDataProp #119

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. instead of using 2-dimensional string array, use mDataProp to define columns
2. In controller, return a default json of the collection of entities
3. operations like 'delete' fail 

What is the expected output? What do you see instead?
Delete operation does not work. Editable does not pass the id to the controller.

Original issue reported on code.google.com by alen.siljak on 1 Aug 2012 at 12:27

GoogleCodeExporter commented 9 years ago
When using mDataProp, you need to pass DT_RowId back in the data since there's 
no default ID Row anymore.  See http://datatables.net/usage/server-side.  

Original comment by steve.ja...@gmail.com on 1 Nov 2012 at 3:38