⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Export & print buttons not working



Sebastian Zapato Blanco
  • profile picture
  • Member

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!


Amit Shah
  • profile picture
  • Member

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 :)