Closed neoedmund closed 11 months ago
I just added recid
into json with value of xid
. works for some extent.
In the configuration for a grid component you can assign any property from row as 'recid' - for example 'xid'.
recid
is just a record identifier, so, if 'xid' can be treat as identifier - just do it.
Example:
let grid = new w2grid({
recid: 'xid',
...rest config
})
Describe the problem your feature will solve. My records has a key field named
xid
which isint
type. I'd like to send thisxid
when saving the inline editing.Describe the solution you'd like I found event
onSave
of grid, but don't know how to do the job correctly. please help.Describe alternatives you've considered Can I using xid to replace builtin recid ? How?
Additional context