1

jqxウィジェットグリッドセルレンダラーの値に基づいてチェックボックスを無効にします

ここに私のコードがあります:

var cellsrenderer = function (row, columnfield, value, defaulthtml, columnproperties) {
    var rowscount = $("#jqxgrid").jqxGrid("getdatainformation").rowscount;
    for (j = 0; j < rowscount; j++) {
        for (j = 0; j < rowscount; j++) {
            var data = $('#jqxgrid').jqxGrid('getrowdata', j);
            if (data.flag1 == '2') {
                if (columnfield == 'generatepc' && value == true)
                    //here need to disable the checkbox
            }
        }
    }
}

私はそれを修正することができません。誰かが解決策を提供できますか、またはアイデアは私にとって良いでしょう

4

0 に答える 0