Version: SNAPSHOT_v9.1d_2013_10_15
Hi Isomorphic/All,
I know that am I missing something, but what is it?
I have the next scenario:
- A GridList which datasource is fetch directly from the database and autoSaveEdits: true.
- Every record on this GridList have 3 fields:
* quantity (editable)
* price (non editable)
* total (non editable)
- In a ToolStrip embedded to this Grid, there is a save button that calls on click: GridList.endEditing();
When QUANTITY field changes the next action is taken:
record.total = record.quantity * record.price
Why when I press the save button, my calculated value (record.total) is not present in the database?
I can see it in the grid, but it is not saved.
What am I missing?
The documentation says, that if endEditing() is called with autoSaveEdits: true, the changes are saved in the server.
Pls help.
Thanks in advance
Hi Isomorphic/All,
I know that am I missing something, but what is it?
I have the next scenario:
- A GridList which datasource is fetch directly from the database and autoSaveEdits: true.
- Every record on this GridList have 3 fields:
* quantity (editable)
* price (non editable)
* total (non editable)
- In a ToolStrip embedded to this Grid, there is a save button that calls on click: GridList.endEditing();
When QUANTITY field changes the next action is taken:
record.total = record.quantity * record.price
Why when I press the save button, my calculated value (record.total) is not present in the database?
I can see it in the grid, but it is not saved.
What am I missing?
The documentation says, that if endEditing() is called with autoSaveEdits: true, the changes are saved in the server.
Pls help.
Thanks in advance
Comment