I have a function that creates a grid with numbers in particular spots. I can't figure out a way to change the background of cells with numbers in them. For example
grid = Grid[table, Frame -> All, Spacings -> {2, 2}, indices]
where indices
is a list {{},{},{}}
with the indices of the cells that should have a different color.
Anyone have ideas on how to do this if it's possible?
Item
in the documentation. You need to wrapItem
around the content of the cells that should change color, and then change the color as in the documentation. Example data fortable
with the correspondingindices
would make it easier to answer the question. $\endgroup$