Jump to content


Having a error with callback_before_delete

delete

  • Please log in to reply
2 replies to this topic

#1 Tsukihime86

Tsukihime86

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 23 September 2012 - 02:20 AM

Hi, I really apreciate if somebody help me with this. I use the "callback_before_delete" and  made this function:


public function eliminarRegistros($primary_key){

   $this->load->model(array("misinventariosmodelo"));
   $validacion = $this->misinventariosmodelo->eliminarInventario($primary_key);

   if ($validacion == true)
          return true;
   else
          return false;
  
   }

That function deletes the rows but give me a wrong message and don't refresh the data
pic.PNG

Thanks for your help

#2 victor

victor

    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 23 September 2012 - 11:00 AM

maybe
http://www.grocerycr...or-with-delete/

#3 Tsukihime86

Tsukihime86

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 26 September 2012 - 09:34 PM

That didn't work, thanks anyway :(





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users