mario.arancione

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: Conflit with id from recordset with Jqgrid id #96689
    mario.arancione
    Participant

    I'm sorry to see that no one helped me, I was hoping there were a comunity Confused?

    Fortunately I found a solution (by myself Wink).

    Moreover I would like to say that I also notice a bug on jqgrid.

    Please try this test:

    -On a multiple selection do a clic on all rows (except header) to check it

    Then

    -Do a click on header checkbox (will do nothing because all rows should have already been selected).

    -Unselect all rows by clicking on each checkbox (except header one).

    You should have no row selected and should have checked header checkbox

    Try to click on “Get Selected id's” you will have an id even though no row is selected 😉

    You can try here: http://trirand.com/blog/jqgrid…..qgrid.html

    in reply to: Conflit with id from recordset with Jqgrid id #96656
    mario.arancione
    Participant

    It seems it can be a problem linked to addRowData method.

    Example:

    var myfirstrow = {invid:”1″, invdate:”2007-10-01″, note:”note”, amount:”200.00″, tax:”10.00″, total:”210.00″};

    jQuery(“#myDiv”).addRowData(“not_numericID“, myfirstrow);

    I think it's what is happening (internally) if addRowData's first parameter (id) is not a numeric one there's a conflict and you cannot have a checked checkox on select row.

    But how to fix it?

    Because in my case i don't call explicitaly addRowData , i only give a recordSet to Jqgrid.

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

Stay connected with us in your favorite flavor!