Combobox:
取Value
var Supplier = $('#poinPrint').combobox('getValue');
input赋值
$("#txtrName").textbox("setValue", "xxx");
input取值
$("#FBillNo").textbox('getValue')
datagrid:
获取check数据
var checkrow = $('#dgvPoorder').datagrid('getChecked');
for (var i = 0; i < rows.length; i++)
{ for (var j = 0; j < checkrow.length; j++){
}
}
重置数据:
$('#POinDgv').datagrid('options').url = 'ajax.aspx?sign=POinstockFBillNo&FSupplier=' + Supplier + '&FBillNo=' + FBillNo + '&FromTime=' + FromTime + '&ToTime=' + ToTime + '&Type=' + Type;
$('#POinDgv').datagrid('reload')
重置单元格的数据
var Poordgv = $('#dgvPoorder').datagrid('getRows')
Poordgv[i]["FStatusName"]="关闭"
$('#dgvPoorder').datagrid('refreshRow', i);