Jump to content


Export & print buttons not working

export excel print

  • Please log in to reply
1 reply to this topic

#1 Sebastian Zapato Blanco

Sebastian Zapato Blanco

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 10 November 2014 - 04:53 AM

Hello guys,

I Installed grocery crud and everything is working fine, but the export and print buttons don't have any functionality.

Do I have to modify something to make these buttons work?

My controller is very simple and looks like this:

...$this->grocery_crud->set_table('notificaciones');

$output = $this->grocery_crud->render();
        
$this->load->view('laflorida.php',$output);  
...

Thanks for the help!



#2 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 10 November 2014 - 10:50 AM

Technically there need not have any change required.

Lets try and resolve your sitiation here:

1 - Check in the firebug console .. if there is any error inside  there - if there that needs to be fixed

2 - Check the template being used for? Try changing the template and see if it still encounters the same issue or what?

3 - In case of everything being fine - inspect element - get the class name .. and check in the themes main js (ex. fleigrid.js) ... check for its binding .. if it is expecting something else for print / export to activate (like id) .. u might need to change it to the classname in the js file .. or to go with ID - might need to add 1 in the list_template.php / list.php wherever the export / print button is there

 

Hope this helps you to resolve the trouble.

 

Happy GCing :)







Also tagged with one or more of these keywords: export, excel, print

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users