of course I try.... without success : datagrid is empty with no message when there is no data returned.
I try to return an empty Json response and and empty Json array response with footer (see below), but it doesn't change anything.
So how to alert the user when the datagrid is empty ? (without using an alert box)
thanks
empty array in Json repsonse :{"total":0,"rows":[],"footer":[{"name":"items:","items":0,"iconCls":"icon-sum"}]}
my datagrid definition :
<table id="dg"
class="easyui-datagrid" style="width:100%;height:250px"
url="http://localhost/rest/invitations/list/received"
emptyMsg="No record found"
loadMsg="Loading, please wait..."
fitColumns="true"
collapsible="false"
showHeader="false"
singleSelect="true"
remoteSort="false"
remoteFilter="false"
>
<thead>
<tr>
<th field="urlLogo"></th>
<th field="lastnameContact"></th>
<th field="fisrtnameContact"></th>
</tr>
</thead>
</table>