How do I export to excel but retain the correct font colour? In the grid text can appear in many different colours but as soon as I export into Excel it reverts to black. I’ve tried mygrid.toExcel(‘generate.php’,‘full_color’) and mygrid.toExcel(‘generate.php’,‘color’) but neither seem to make any difference.
Are you setting text color for whole cell or for different sub-tags inside of the cell ?
Grid can export first type of coloring ( “full_color” mode ) but will not be able to export second type of coloring.
<?xml version="1.0" encoding="UTF-8"?>
Monday 24th Sep 2012
A name
7:30 - 17:03
9 hrs 33 mins
B Name
7:43 - 17:02
9 hrs 19 mins
C Name
7:43 - 17:02
9 hrs 19 mins
D Name
7:43 - 8:45
1 hrs 1 mins