In calendar widget, we can’t able to create a event, if you want to create a event, you should configure the outlook integration then you can add the events.
please refer this blog
Please download the test project and according to test project configure your usecase.
Does Your Dataview have Event Entity as Context?
Select DataSource for calendar widget from either context, database, MF, or NF and try it out.