initGrid finished.