Table Row on Web App is not consistent

@kirtan11patel
for identifying the last row you can make benefit of the TableRow part within the selector and dynamize it like described in link below:

for calculating the current last tableRow index it can be done with the help of find children or maybe datascraping and using retrieved datatable.rows.count

Another technique is to use an integrated anchor within the selector to a last row dropdown / field using the save changes button. For this have alook here: