js循环GridView判断CheckBox是否全部未选中
时间:2014-08-05 13:36:59
收藏:0
阅读:225
function isQueryPriceReplyProduct() {
var gridItem;
var itemIndex = 0;
var IDS = ‘‘;
while (gridItem = dgQueryPriceReplyProduct.Table.GetRow(itemIndex)) {
itemIndex++;
if (!gridItem.Cells[0].Value) {
continue;
}
IDS += gridItem.Cells[1].Value + ‘,‘
}
if (new String(IDS).length == 0) {
messageTips("请选择至少一行数据", ‘e‘);
return false;
}
return true;
}
评论(0)