jqGrid遍历所有行及获取某一行数据

时间:2018-10-16 10:36:26   收藏:0   阅读:1363
$("#gridTable").find("tbody tr").not(".jqgfirstrow").each(function (i) {
        var inventoryQty = $(this).find([aria-describedby="gridTable_InventoryQty"]).text();
        alert(inventoryQty);
            if (inventoryQty == "") {
                hasInventoryQty = false;
            }      
    });
not(".jqgfirstrow")表示排除第一行表头

原文:https://www.cnblogs.com/firstcsharp/p/9796516.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!