somelton

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Confused about JSON Data #93928
    somelton
    Participant

    Here's what the code does: I bind a collection of objects to the grid the usual way. But then in afterInsertRow, I manually add a row after each bound row using addRowData containing links to manage the data in the row above.

    I now believe the problem is not with the JSON data but with a change to something else. With 3.6.1, I can break inside afterInsertRow and see that:

    rowid = an integer

    rowdata = my columns

    rowelem = the underlying object bound to the row

    But with 3.6.4, I can break inside afterInsertRow and see the same results as but only every other time. The remaining times I see that:

    rowid = an object whose properties suggests its the grid itself

    rowdata = a string with the rowid of the row I last manually added

    rowelem = the row I last manually added

    I think the difference is that in 3.6.1, the addRowData inside afterInsertRow didn't call afterInsertRow but in 3.6.4 it does. Can anyone confirm this? Can I call addRowData in a way that doesn't trigger afterInsertRow?

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!