Adding onInitGrid which is called only once before populating the data.