how to retrieve event id

after event is stored in database how to retrieve event id of that event.

can i store event id to database table if yes how ?

i not quite understand the question.
Event id is usually stored in the database and loaded with the other fields.
When you add new event from the client-side, the event receives database id. Than it gets loaded back the client, so client side events have actual ids. When scheduler receives new id for inserted event, it triggers onEventIdChange event … event.html