Inline Editing Submit entire row on save
Inline Editing Submit entire row on save
jbblake
Posts: 14Questions: 6Answers: 0
I am being asked to develop a web page that uses inline editing. From the examples and discussions it appears that inline editing will only work if you do a onBlur: 'submit'
My question is it possible to use inline editing and only submit using a button or perhaps on an event? Best option would be to save all the rows with changes, but one step at a time.
Thank You
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, this blog post shows how it could be done. There it is queued changes for the whole table, but equally you could do it for each row.
Allan
Hi Allan,
I followed the example and followed everything but I am getting error while update triggers to local table ( whether editor update or inline update )
I dont want the Ajax Save update for every changes. I will be queuing all the changes and call the server side 'processing' when the user triggers 'Save' button outside of dataTables.
the source data comes from SQL Server Table Value Function.
Error :
TypeError: c is not a function dataTables.editor.min.js:97:328
_submitTable http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:97
each jQuery
_submitTable http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:97
_submit http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:96
l http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:64
_event http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:85
l http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:64
submit http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:64
_blur http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:80
blur http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:42
_tidy http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:102
inline http://localhost:54605/Scripts/DataTables/dataTables.editor.min.js:56
<anonymous> http://localhost:54605/Home/RetailPriceReview:2344
jQuery 2
more errors
TypeError: d is undefined RetailPriceReview:2317:27
<anonymous> http://localhost:54605/Home/RetailPriceReview:2317
jQuery 2
dispatch
handle
Hi All,
Found the problem. Missed the Keytables js and css to include.
Still having problem related to column calculation when the data is modified.
Let me do more work on this to come back if there is any problem
Regards