Posted 14 September 2017, 12:11 pm EST
Hi,
I’m using ODataCollectionView to build a grid, which is meant to be the main encoding tool of an app.
As I discovered that the grid would automatically make every push/put/delete as needed, I felt very enthusiastic. Yet I’m blocked with it.
Let’s say, I’ve an ID field and a last modification date. ID is auto-inc and date is like “on update current_timestamp”, so they’re managed server-side. The column is then empty with a isReadOnly.
When I perform a post, the grid sends the ID and the last modification date with the request. Logical, it does know nothing about indexes and that stuff. But the server throws the request away because the ID is defined (0 - that can’t be) and the date too (0001-01-01) but not being legit (1971-01-01+).
I don’t really figure out how and where the data is worked before reaching the api, and neither I find how to configure data binding from the grid to the request, or ways to catch/handle data before it goes to the server.
Thanks in advance for your help !
