Archive for December 18th, 2009

Adding Print functionality in Flexigrid Implementation of CodeIgniter

Friday, December 18th, 2009

Add print button in flexgird grid in your Controller. You should define print css in your flexigrid css. $buttons[] = array('separator'); $buttons[] = array('Print','print','printReport'); Now, you should define printReport javascript function in end of the page of view associated with the page. New tab for print is opened with hiding unwanted css and by location.reload(); ...