Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82359

Detect if table in edit mode

$
0
0

Hi,

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)

BR,
Rauno


Viewing all articles
Browse latest Browse all 82359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>