Here is a fragment of dataSource:
recordXPath:"//datacursor",
fields:[
{name:"id", primaryKey:true, hidden:true, type:"sequence"},
{name:"header_id", hidden:true},
{name:"person"},
{name:"name"},
{name:"worknum"}
]
I am adding a new record like this:
lstConsistPersonnel.startEditingNew()
I need to populate header_id with a value because I want to have it on the server when I submit data. How can I do that?
Thanks
recordXPath:"//datacursor",
fields:[
{name:"id", primaryKey:true, hidden:true, type:"sequence"},
{name:"header_id", hidden:true},
{name:"person"},
{name:"name"},
{name:"worknum"}
]
I am adding a new record like this:
lstConsistPersonnel.startEditingNew()
I need to populate header_id with a value because I want to have it on the server when I submit data. How can I do that?
Thanks
Comment