• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.