jqgridnoob

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: Duplicated rowid returned bug of select all header checkbox #97001
    jqgridnoob
    Participant

    Read the source and found a quick fix.

    Add the code of line

    ts.p.selarrrow = [];

    to clear the selarrrow on header checkbox click.

    It should be line 1994 of grid.base.js

    $('#cb_'+$.jgrid.jqID(ts.p.id),this).bind('click',function(){

    ts.p.selarrrow = [];

    if (this.checked) {

    $(“[id^=jqg_”+ts.p.id+”_”+”]”).attr(“checked”,”checked”);

    in reply to: Duplicated rowid returned bug of select all header checkbox #97000
    jqgridnoob
    Participant

    tony said:

    Hello,

    Please look here:

    http://www.trirand.com/blog/?p…..-1/#p21430

    Kind Regards


    Hi Tony,

    I can even reproducing the problem (including silverhoof's issue) on the demo page as u suggested.

    On the custom mult-select page, if i first click ctrl + mouse on an item then press the select all check box, the alert shows duplicated item id. And if I deselect the previously checked item, it still recorded as checked.

    I have tested the page on both IE8 and chrome and both can reproduce the bug.

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

Stay connected with us in your favorite flavor!