I have a lightning:datatable and this has two columns: start date and end date. The functionality is that when you edit the start date, the end date updates in the table with the same value as the start date + 20 minutes. The same is applied for the end date, if you edit it, the start date follows it - 20 minutes.
The thing is that, if you first edit the start date, the end date updates in the table by updating the List that the table is using, but, if you then edit the end date, the start date which i previously edited doesn't update, the variable is updated in the list but the table, for some reason, doesn't update an already edited cell. This happens too if you start with the end date and then edit the start date.
I update the fields on the oncellchange method
I don't know how to solve this or what exactly is happening, maybe this is something about the table itself but I'm not sure.
Any help is appreciated.