Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    New record ID when updating

    When updating a record in a GridList I have to return the updated record with a new id. The GridList will append the new record and leave the old one unchanged.

    Is there a solution to have the updated record replaced with the new one?

    #2
    What's forcing you to return a new ID? You have the old ID in the inbound dsRequest, if you send back the new values with the old ID the record will be updated in place.

    It's hard to imagine what solution you would want other than just using the same ID? Note your primaryKey field does not have to correspond to an underling database primary key column - you can use whatever synthetically generated values you want so long as you are consistent over the time for which you allow the data to be cached in the browser.

    Comment


      #3
      Thanks for the quick answer (as always).

      I had to confirm with the pros before escalating some issues.

      Comment

      Working...
      X