New Data Notification

New Data Notification

fadlireizandifadlireizandi Posts: 2Questions: 1Answers: 0

How to add notification when there is a new data in the table?

Answers

  • kthorngrenkthorngren Posts: 21,300Questions: 26Answers: 4,945

    How is the new data placed into the table?

    What type of indication do you want, ie, row flashing, alert message, etc?

    Please provide more specifics about what you want and how the data is handled.

    Kevin

  • fadlireizandifadlireizandi Posts: 2Questions: 1Answers: 0

    I have a serverside table that can be updated by any user. i want to know if there is a new data added with a notification, maybe by allert or push message "You have a new data" (something like that)

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    That would be entirely up to your application. If you are using row.add() or rows.add() to tell DataTables about the new data, just call whatever notification code you want after you call that method. Are you using a socket to get the updated data from the server?

    Allan

This discussion has been closed.