Sending custom parameters to the DMI update method

I’m using DMI to fetch and update data. My ListGrid is set to edit fields in place (canEdit: true, editByCell:true). Currently, the server-side update() method only gets data that has changed. How can I pass in arbitrary values to the update function?

For example, I’d like pass a userID for every update. The userID isn’t part of the record. It’s just a javascript variable on the page. I’d just like to shove it into the list a params.

Any ideas?

DMI’s receive the original data as dsRequest.oldValues. This is automatically tracked and submitted by databound components.

If you want to send the userId with every request, override transformRequest and add it there. But this sounds like something you should do with a cookie instead.