Print error message when myDataGrid is not located