Update new DataTable row value to database
Update new DataTable row value to database
![menashe](https://secure.gravatar.com/avatar/dc1da7c78a76b079289646e56a3a2afb/?default=https%3A%2F%2Fvanillicon.com%2Fdc1da7c78a76b079289646e56a3a2afb_200.png&rating=g&size=120)
in DataTables 2
I have the following:
The Low Price field (which is a database column on the Packaging table) on the Packaging row is updated dynamically as a row in the Prices (child) table is modified (or added).
How can I save that table value to the database?
This question has an accepted answers - jump to answer
Answers
I actually came up with a much more elegant solution! The Lowest Price field is no longer in the database; it is "virtual".
I thought that I needed it in the database to display the Lowest Price BEFORE the Price (child) rows were expanded.
But, instead, I now generate it as a column of the Packaging table!
Awesome - great to hear you found a solution.
Allan