getting max value in array in javascript not working
Summary
frustrating issueContent
Hello,
First a little background.
I have an editable array with an "add row" button. The button adds a single row that is in a business object specifically for that purpose. As users enter data in the grid, they can add a row for additional data entry. The entries require unique ids for the array to operate properly. Each time a new row is added, the id will always be the number 1 since that is in the business object. I need to iterate over the array to get the max id and then add 1 to it and update the additional row. So far so
Tagged:
0