How to show a message (ex: No records found!) in the table when no records is returned?
问题 I am using easyui datagrid in my application.How to show a message (ex: No records found!) in the table when no records is returned? $('#test').datagrid({ onLoadSuccess:function(data){ if(data.total == 0){ alert("No Records founds"); } } }); 来源: https://stackoverflow.com/questions/16399567/how-to-show-a-message-ex-no-records-found-in-the-table-when-no-records-is-re