maxfelipe

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: Bug with idPrefix (duplicate idPrefix) #99850
    maxfelipe
    Participant

    Shouldn't also this line be reversed on addRowData:

    id = rowid;

    rowid

    in reply to: Bug with idPrefix (duplicate idPrefix) #99848
    maxfelipe
    Participant

    Looks like I answered my own question, or at least a way to make it work. Looks like since I was using json data with loadonce: true, the id lookup for a reload was using the “localReader” id, which defaults to _id_(in our case 'idPrefixxx'). The reload then concatenates the idPrefix with the id retrieved from the row, leading to a duplicated idPrefix. If we use key:true in a col in our model that also represents the id of the row, we are all set, as the reload method will take *that* id instead of the rowid.

    in reply to: Bug with idPrefix (duplicate idPrefix) #99847
    maxfelipe
    Participant

    I have the latest version (4.3.2) (with no code from github) and I'm also seeing the issue when the grid is sorted. I don't think Klaus actually fixed the issue, he was just pointing where he things the issue happens.

    Moreover, I think the issue happens with any reload of the grid (filtering, sorting, etc)

    Thanks again tony for such a great plugin.

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

Stay connected with us in your favorite flavor!