首页 > 其他 > 详细

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

时间:2018-10-16 10:36:26      阅读:1359      评论:0      收藏:0      [点我收藏+]
$("#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")表示排除第一行表头

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!