Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter + Flexigrid sample problem

I'm using the Flexigrid + CI sample library from this thread, and I'm running into a bit of a problem. More specifically, two problems. I'm on Firefox 3.0.6 Mac, and running the demo that came with the library.

First of all, I apparently can't delete the first entry in the table (in the demo, it's ID 1, Afghanistan). Deleting seems to work fine with the other rows.

Also, and this is the biggest problem, the ajax reload doesn't seem to be working right. So, in order to see the changes, I have to reload. I looked at it in Firebug. It seems like in the test() function:
          type: "POST",
          url: "http://localhost/index.php/ajax/deletec",
          data: "items="+itemlist,
          success: function(data){

the 'success' code never gets called. Is anyone else's installs working like this? I'm still new to jQuery, so I'm not sure where the issue is.

Thanks for your help!

Theme © iAndrew 2016 - Forum software by © MyBB