How to serialize with background colors

I have a licensed copy of the grid.

The grid contains a matrix of employee vs skills. I am highlighting cells (using various colours) based on whether an employee has a skill or not and some other criteria.

Can someone please tell me how to serialize grid data to pdf and excel and include the cell highlighting/colours into the output xls or pdf file?


You have to use “full_color” mode :

grid.toPDF("url to generator", "full_color");