So, is there a way to customize that to pass a value instead of all object?
I need the structure to be like this, since I need to color the cells of a specific color.
I can paint the cells in another way, verifying the cell that I need to paint by id and assign it the color, and it works for me when the data is few, but when the answer is 50 thousand rows, I have to do many “foreach” and the application performance is decreased.
You can basically pass anything via cell metadata. Here’s an example https://jsfiddle.net/handsoncode/tb7rw0xk/ where I set up a class name, a sample array, and an object.