flexReload Not reloading - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: flexReload Not reloading (/showthread.php?tid=43982) |
flexReload Not reloading - El Forum - 07-29-2011 [eluser]Richievc[/eluser] This is for the Flexigrid system Hi there first must say very nice indeed. My Question or should say problem is that I created a button to hide any line item that has been disable basic 0 disable 1 enabe this value is in Database is_active I use firebug to view the errors. So everything seems to work, given the problem which is that the data stay the same all disabled users are still there after clicking the disable button. Code: if (com=='Hide Disabled') { This code send the value hide to trigger the model to hide the uses Code: $hide = $this->uri->segment(3); The Problem seems to be that it's reloading with hide value, then reloading again back to the original value I can see two post in firebug the hide post then a regular post Code: url: "<?=site_url("/ajax/index/hide");?>", // first post which it should be Thanks flexReload Not reloading - El Forum - 07-29-2011 [eluser]Richievc[/eluser] Ok I got the answer the FlexReload Just reloads teh grid from the original Load The way to do it is to use the following Code: success: function(data){ Instead of the reload solo Hopes this helps anyone else Thanks |