Temporary data location

When i run scheduler, they bring data from this:

		scheduler.parse([
	
	//Eventos padrão ********************************************************************************************************************************
		{ start_date: "2020-04-20 10:00", end_date: "2020-04-20 12:00", text:"Front-end meeting"},
		{ start_date: "2020-04-21 16:30", end_date: "2020-04-21 18:30", text:"Feed ducks and city walking", evType:1},
		{ start_date: "2020-04-22  8:00", end_date: "2020-04-22 11:00", text:"World Darts Championship (morning session)"},
		{ start_date: "2020-04-22 12:00", end_date: "2020-04-22 14:00", text:"Lunch with Ann & Alex", evType:2},
		{ start_date: "2020-04-23 16:00", end_date: "2020-04-23 17:30", text:"Game of Thrones", evType:3},
		{ start_date: "2020-04-25  9:00", end_date: "2020-04-25 11:00", text:"Design workshop", evType:4},
		{ start_date: "2020-04-25 14:00", end_date: "2020-04-25 17:00", text:"World Darts Championship (evening session)", evType:4},
		{ start_date: "2020-04-23 00:00", end_date: "2020-04-23 00:00", text:"Couchsurfing. Family from Portugal"},

	//Eventos Escala das 18:00***********************************************************************************************************************
		{ start_date: "2019-01-07 00:00", end_date: "2021-01-02 00:00", rec_type: "day_28___#5", event_pid: "0", event_length: 60*60*24*5, evType:1, textColor:"black", text:"Plantão das 18:00 - Camisa"},
		{ start_date: "2018-12-31 00:00", end_date: "2021-01-02 00:00", rec_type: "day_28___#5", event_pid: "0", event_length: 60*60*24*5, evType:2, textColor:"black", text:"Plantão das 18:00 - Fábio"},
		{ start_date: "2019-01-14 00:00", end_date: "2021-01-02 00:00", rec_type: "day_28___#5", event_pid: "0", event_length: 60*60*24*5, evType:3, textColor:"black", text:"Plantão das 18:00 - Roberto"},
		{ start_date: "2019-01-21 00:00", end_date: "2021-01-02 00:00", rec_type: "day_28___#5", event_pid: "0", event_length: 60*60*24*5, evType:4, textColor:"black", text:"Plantão das 18:00 - Ronaldo"},
	
	//Eventos Folgas final de Ano 2019***************************************************************************************************************
		{ start_date: "2019-12-30 00:00", end_date: "2019-12-31 00:00", evType:1, textColor:"black", text:"Camisa - Folga final de ano"},
		{ start_date: "2019-12-23 00:00", end_date: "2019-12-24 00:00", evType:2, textColor:"black", text:"Fábio - Folga final de ano"},
		{ start_date: "2019-12-30 00:00", end_date: "2019-12-31 00:00", evType:3, textColor:"black", text:"Roberto - Folga final de ano"},
		{ start_date: "2019-12-23 00:00", end_date: "2019-12-24 00:00", evType:4, textColor:"black", text:"Ronaldo - Folga final de ano"}

	], "json");

Till then, ok…

But if i modify something, dlete, edit or create, it´s show on scheduler, and when i refresh the page, this data desapear.

Ok with that to, but…

Where the scheduler store this temporary data?

Is in a file? What file?

Tks for any help

Hi @camisavp,
In the code-fragment you sent, the data is “hardcoded” in the inline dataset. When this data is parsed by (.parse()/.load()) methods, all events are stored in the array with the event objects inside, which you can get using scheduler.getEvents() // will return [{…}, {…}, {…}] method. And all event changes/inserts/deletions are acting with this array, without changing the “hardcoded” dataset.
So, when you will reload the page, the .parse() method will parse the “hardcoded dataset”(which wasn’t changed) and create the array of events again.

The scheduler is a client-side library, so if you want the data changes don’t be disappeared after page reload, you should connect the scheduler with the server-side, and store the data in some database. By the links below you can read detailed guides about loading/storing data, server-side integration, and different server-side platforms:
API:
getEvents:
https://docs.dhtmlx.com/scheduler/api__scheduler_getevents.html
Guides:
https://docs.dhtmlx.com/scheduler/guides.html
Loading Data:
https://docs.dhtmlx.com/scheduler/loading_data.html
Server-side integration:
https://docs.dhtmlx.com/scheduler/server_integration.html

Tks the explanation.

I will read those guides.