//$('#tt').datagrid('loadData',{total:0; rows:[]});
/* var cardview = $.extend({}, $.fn.datagrid.defaults.view, {
renderRow: function(target, fields, frozen, rowIndex, rowData){
if (rowIndex>0){
return;
}
var cc = [];
cc.push('<td colspan=' + fields.length + ' style="padding:10px 5px;border:0;">');
if (rowIndex==0){
cc.push('无记录'+rowIndex);
cc.push('<div style="float:left;margin-left:20px;">');
cc.push('</div>');
}
cc.push('</td>');
return cc.join('');
}
});
$('#tt').datagrid({
view: cardview
});*/
/* var cardview = $.extend({}, $.fn.datagrid.defaults.view, {
renderRow: function(target, fields, frozen, rowIndex, rowData){
if (rowIndex>0){
return;
}
var cc = [];
cc.push('<td colspan=' + fields.length + ' style="padding:10px 5px;border:0;">');
if (rowIndex==0){
cc.push('无记录'+rowIndex);
cc.push('<div style="float:left;margin-left:20px;">');
cc.push('</div>');
}
cc.push('</td>');
return cc.join('');
}
});
$('#tt').datagrid({
view: cardview
});*/