⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

grocery crud delete,edit,filter,pagination operation.



dipti

dipti
  • profile picture
  • Member

Posted 13 April 2017 - 10:52 AM

I am new in codeigniter and also  in grocery crud ,i implement grocery crud but after delete operation data has deleted from table but the row not deleted from list page after refresing it work same case also in edit operation,after edit operation the three buttons(update changes,update and go back to list,cancel) not work also filter and pagination not working properly ,please anyone help me.


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 16 April 2017 - 03:58 AM

Please check in the developer console to see if there are any errors that are occurring for the same operations...!! Codeigniter is a library heavily dependent on Ajax calls. If there are even warnings / notices been printed out in PHP execution, the ajax output will fail. I will recommend that you try turning off the development mode off for codeigniter and see if that solves your problem.

 

Happy GCing :)


moalla

moalla
  • profile picture
  • Member

Posted 03 July 2018 - 02:23 AM

same problem here.

this is the message:
 

datatables.js:213 Uncaught ReferenceError: success_message is not defined
    at Object.success (datatables.js:213)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at A (jquery.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery.min.js:4)
success @ datatables.js:213
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
A @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
load (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
delete_row @ datatables.js:206
onclick @ 14:489

moalla

moalla
  • profile picture
  • Member

Posted 03 July 2018 - 02:49 AM

i tried to enable     $config['grocery_crud_dialog_forms'] = true; in config file and the problem solved