Grid background colour not changing



I’m creating an iOS app which uses ShinobiGrids, however I have this strange issue with the background colour not changing for some of the grids. As you can see two grids have a black background colour, even though I’m using the same code to set the background colour to white for all the grids.


I’ve tried the code listed below.

grid.backgroundColor = [UIColorwhiteColor];


Thank you for your help.

Jing Jing Tao


Hi Jing Jing Tao,

Have you tried changing the background color of your cells?

To do this set your cell’s background color in your grid’s datasource method “shinobiGrid:CellForGridCoord:”.

Let me know how you get on. 

Kind Regards,
Andrew Polkinghorn


Hi Andrew,

Thank you for your reply, that worked, so changing the grid colour and similar properties should be done in the grid’s datasource?


Jing Jing Tao