The following example fills the grid array random numbers and create style for a each cell possible value.