jaimi
|
 |
« on: January 21, 2015, 04:12:14 AM » |
|
Hello, I want to show a messager instead of a standard-alert. How to?
Here's my edatagrid:
$('#edgPferd').edatagrid({ title : 'Pferde-Bestand' ,iconCls:'icon-Pferd' ,width:'100%' ,height:'auto' ,collapsible:'true' ,columns:[[ {field:'OLT30A001T_KEY',title:'PferdKey',width:080,sortable:'true',hidden:'true'} ... ]] ,//columns toolbar : '#tobPferd', url : 'pferd.act.php?frm=frmHOM&act=T&sel=' + vSEL, ... ,onLoadSuccess: function(objects){ //alert('onLoadSuccess'); //$.each(objects.rows, function(i, row) {alert(i + ' : ' + row.HOM_NAME);}); var total = objects.total; if (vFOR == 1 && total > 0){ alert('Sie haben bereits ' + total + ' Pferd(e) als Besitzer eingetragen:'); !!!--> here the messager should appear !!! } } });//edatagrid
|