Make sure that the datagrid retrieves the correct data from your server. The json data returned from your server looks like this:
{"total":xxx,"rows":[...]}
Fore more information, please refer to this tutorial
http://www.jeasyui.com/tutorial/app/crud.php