Title: 'onLoadSuccess' function of the datagrid Post by: wymak on November 22, 2013, 11:57:42 PM Why is there no alert box pop up after the table being populated?????
<table id="newcases" class="easyui-datagrid" style="width:350px;height:270px" url="load_data.php" pagination="false" idField="ym" rownumbers="false" fitColumns="true" singleSelect="true" showFooter="true" onLoadSuccess:function(data){alert("load ok");} onLoadError:function() {alert("load fail");} > <thead> <tr> <th field="ym" width="25%" >Month</th> <th field="newc" width="25%" align='right'>Brand New</th> <th field="evanc" width="25%" align='right'>From Old</th> <th field="ttl" width="25%" align='right'>Total</th> </tr> </thead> </table> Title: Re: 'onLoadSuccess' function of the datagrid Post by: stworthy on November 23, 2013, 08:45:38 PM The events must be declared in 'data-options' attribute.
Code: <table id="newcases" class="easyui-datagrid" data-options=" |