|
jaimi
|
 |
« on: January 21, 2015, 03:28:38 AM » |
|
HI, I noticed a strange behavior during loading the datagrid. I created a data grid like this: ... ]] ,//columns toolbar : '#tobPferd', url : 'pferd.act.php?frm=frmHOM&act=T&sel=' + vSEL, //saveUrl : 'pferd.act.php?frm=HOM&act=I', //updateUrl : 'pferd.act.php?frm=HOM&act=U', //destroyUrl : 'pferd.act.php?frm=HOM&act=D', remoteSort : 'true', idField : 'OLT30A001T_KEY', queryParams : {sort: 'HOM_NAME'}, //rownumbers : 'false', singleSelect: 'true', ... ,onLoadSuccess: function(objects){ //alert('onLoadSuccess'); var total = objects.total; if (total > 0){alert('tomatch');} } });//edatagrid
the onLoadSuccess shows the alerts two times. Is this behavior normal? What is wrong? can anyone give me a clue?
THX. Jaimi
|