php - PHPExcel: How can I use a combination of dynamic rows and fixed rows in PHPExcel? -
i looking advice on methodology here guess.
i have excel spreadsheet areas require dynamic number of rows inserted, followed fixed areas require data added specific col/row fields.
i want load existing spreadsheet due sheet having lots of styles applied.
can done in phpexcel?
i know phpexcel can dynamic insertion of rows in new sheet, , can insert data specific cells on existing sheet, can handle both?
ok, looks can achieved little method called...
insertnewrowbefore
example
$objphpexcel->getactivesheet()->insertnewrowbefore(7, 2);
with this, 1 can insert additional rows in-between content, dynamically.
Comments
Post a Comment