As per the requirement when we don't have any data returned from the store, or some exception message from server, I want to display custom message or exception message sent from the server.
1. no records message could be "no records found"
2. service exception message could be "service is not avialable"
for success scenario json string is:
listaccounts: { id: '101' , name: 'kiran' }
for exception scenario json string is
{success:false , errMsg:"no data" }
I am not able to display data.. please share any code how to display error message on the grid panel