Id field is hardcoded in model change event #6401
Labels
bug
Something isn't working
forum
Issues from forum
info requested
Further information is requested
large-account
Reported by large customer
OEM
OEM customer
premium
Forum post
"Hi,
We are encountering some strange behaviour when we are assigning new ids to records in our tree grid. It seems that the root cause of this problem is the onModelChange handler in Store.js assumes the id fields is called id. In our implementation, we set Model.idField to be something different.
See this code snippet from onModelChange:
Should this be something like this, instead?
If we call onRecordIdChange manually when we assign the new id, everything works fine."
The text was updated successfully, but these errors were encountered: