Ozkkar22 / jquery-datatables-editable

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

Delete and refresh from server side #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using the plugin and datatable in a ColdFusion page. I have created a 
DeleteData.cfm page that deletes the record from the database and shows up with 
no errors in Firebug. However, on the table, when I delete, a window opens with 
a checkbox that says "Prevent this page from creating additional dialogs". Even 
if I check the box, the window always opens. The page does not refresh with the 
record deleted even if I press ok on this window. I have to refresh the browser 
manually to see the delete. Is there a way to have the page refresh upon delete?

Original issue reported on code.google.com by hubbardt...@gmail.com on 5 Jan 2012 at 3:47

GoogleCodeExporter commented 9 years ago
Hi, 

Could you return "ok" string in response? If plugin receives "ok" it will know 
that delete was successfully finished. Otherwise any message including the 
empty string will be considered as error message and shown in alert.

Also, are you using latest version of plugin 2.0.7 (you canfind it on live demo 
site)? I think that in later version is checked "ok" or "" as success response 
for delete. 

Jovan

Original comment by joc...@gmail.com on 9 Feb 2012 at 9:13

GoogleCodeExporter commented 9 years ago
As there are not further info, I'm closing this issue.

Original comment by joc...@gmail.com on 13 Feb 2012 at 5:43