Detect if table in edit mode

Detect if table in edit mode Posts: 5Questions: 1Answers: 0


Background: i'm trying to send push notification(with signalr) from to server to the frontend when something has been updated in the data. However i want to detect if the user is editing something and pause/cancel the table refresh.

Question: Is there a way to detect if the table is in inline edit mode or opened with the default edit modal. I managed to detect the start of editing with "initEdit", but i cannt get the end of it. If the user presses escape or simply closes the modal.. etc. This way i could just detect that the user is no longer editing the table.
The best option would be to read some boolean from the api, if the table is being edited (both inline and modal)


This question has an accepted answers - jump to answer


Sign In or Register to comment.