umax

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: jqGrid reload doesn’t restore the original state #101565
    umax
    Participant

    oh i forgot the css, here it is

    .enabled-background-color {

    background-color: #DFD;

    }

    in reply to: jqGrid reload doesn’t restore the original state #101564
    umax
    Participant

    Thank you Tony for replying and i am sorry i didn't notice your reply as i found a solution. Here is what i did.

    i added below code in a function and called it when creating the dialog..

    var rows = $j(“tr.jqgrow”, $table[0]);

    for (var i = 0; i < rows.length; i++) {

    var row_id_string = rows.id;

    $j(“#” + row_id_string).attr('disabled', false);

    $j(“#” + row_id_string, $table).addClass('enabled-background-color');

    }

    $table.jqGrid('resetSelection');

    $table.jqGrid(“clearGridData”, true);

Viewing 2 replies - 1 through 2 (of 2 total)

Stay connected with us in your favorite flavor!