State Management with a Data Grid ** Need Advice***
SummaryManaging the State of the page when a user changes rows
I have a data grid in the image file below. It has six fields as follows:
Line Num / GL Date / GL Account / Transaction Type / Amount / Description
As users move from field to field and one row to the next, I have a series of functions that are called to keep the ADP updated and refreshed.
The reason I need to do this is the GL Account field is based on a modal (see the image). The fields entered in the modal update the GL Account field (via a function when the user clicks OK) with the concatenated values of the entered fields. As the user moves through the fields, there is another function based on a value change of the amount field. This calls the same function adding the Transaction Type and Amount Fields to the ADP. The user must leave the Amount field by navigating to the last field Description. Then when the user goes to the next row a table event calls the same function