add event onGridReady