I have a need for a widget with inline editing where there are 8 fields/cells. The last 5 accept numerical values, the first two accept string values and the 3rd is a TOTAL calculating a SUM for the last 5 cells. I have a widget I put together but I cannot get it to work as I want. When clicking the "edit’ icon I want the existing values to remain in the fields and when they are updated - after clicking the ‘check mark’ - the updated fields show the current value and the ‘total’ field shows the sum for all the values in the last 5 fields/cells. I am attaching the .rp file in case someone can help.
In short - repeater loads, pulls initial values from data source, repeater has an EDIT icon (pencil) when clicked the repeater opens in EDIT mode where fields/cells can be edited. Once in edit mode the pencil icon turns to a green check… and all fields except the 3rd (total) field are editable. After all numeric fields have been updated as needed, the green check is clicked and the repeater reverts back to the start mode, and the updated values show in the numerical cells and the sum for the last 5 fields shows in the TOTAL field (3rd column).
Every time I click the pencil I get the same values populating, and it has gotten me frustrated. I have global vars set and they are updating but I cannot seem to get the updated values to show.
Axure_SUM_with-inline-edit.rp (1.1 MB)