I have a nested table where the subtable has editable fields. Here is some json that I'm using for testing
[
{
"id": 0,
"template": 0,
"name": "tester",
"description": "object to test checklists",
"status": "open",
"orderType": "job",
"orderNumber": "12345",
"lines": [
{
"id": 0,
"lineNumber": 0,
"codeType": "Item Code",
"lineCode": "1001-00258",
"plannedQty": 6,
"currentQty": 2 // editable field
},
{
"id": 1,
"lineNumber": 0,
"codeType": "Item Code",
"lineCode": "1001-00258",
"plannedQty": 1,
"currentQty": 1 // editable field
}
]
},
{
"id": 1,
"template": 0,
"name": "tester",
"description": "object to test checklists",
"status": "open",
"orderType": "job",
"orderNumber": "12345",
"lines": [
{
"id": 0,
"lineNumber": 0,
"codeType": "Item Code",
"lineCode": "1001-00258",
"plannedQty": 6,
"currentQty": 2 // editable field
},
{
"id": 1,
"lineNumber": 0,
"codeType": "Item Code",
"lineCode": "1001-00258",
"plannedQty": 1,
"currentQty": 1 // editable field
},
{
"id": 2,
"lineNumber": 0,
"codeType": "Item Code",
"lineCode": "1001-00258",
"plannedQty": 1,
"currentQty": 0 // editable field
}
]
}
]
The base array is the data in the base table, and the lines
is the subtable
If I edit data[1].lines[1].currentQty
, how do I get that edited data?