Sure no problem.
So like mentioned before we dont make use of the crudManager.
Our event and resource store are configured inside the project property
We also make use of features like tree and treegroup which we use in the resourceStore
Once all the custom components have been loaded properly, I inject data to each of the stores directly by using xxxStore.loadDataAsync([payload]) for the event store and also for the resource. In between I also use the resourceTimeRangeStore, but I thinks this is not realy relevant to this topic.
Both stores are then "CRUDED" by a customised websocket. WS has been turned off to make sure it has nothing to do with this situation.
The data follows exactly the default structure from bryntum classes, {id, resourceId, startDate, endDate, etc...} for both stores (resourceId is only for the events), so we don't use a standalone assignment store.
[
{
"name": "TWS - Training",
"id": "TWS - Training",
"type": "team",
"readOnly": true,
"flex": 3,
"expanded": true,
"level": 0,
"children": [
{
"doc_id": 1198,
"first_name": "Dogan",
"last_name": "Sirt",
"avatar": null,
"username": "51455@users.aisground.com",
"password": "17f0756073ef88d386a7881675ef1f56:c5d12baba96016caef7f162f77f0aaa0",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": "2025-01-31T10:22:47.702Z",
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "WSS3*@WAT-F",
"dispo_has_message": 0,
"default_parent_doc_id": null,
"id": 1198,
"name": "Dogan Sirt",
"startDate": "2025-02-04T14:30:00.000Z",
"endDate": "2025-02-04T22:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"TWS - Training"
],
"eventLayout": "none",
"level": 1
}
],
"startDate": "2000-01-31T23:00:00.000Z",
"endDate": "3000-01-31T23:00:00.000Z"
},
{
"name": "Back office",
"id": "Back office",
"type": "team",
"readOnly": true,
"flex": 3,
"expanded": true,
"level": 0,
"children": [
{
"doc_id": 1026,
"first_name": "KUBLI",
"last_name": "ROUVEN",
"avatar": null,
"username": "51419@users.aisground.com",
"password": "f700e71c9188f0cd64f731b30b70ba9c:2ff224364caf0dca79db2a2eec20cd6a",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "D92@VADM-F",
"dispo_has_message": 0,
"default_parent_doc_id": null,
"id": 1026,
"name": "KUBLI ROUVEN",
"startDate": "2025-02-04T12:30:00.000Z",
"endDate": "2025-02-04T22:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Back office"
],
"eventLayout": "none",
"level": 1
}
],
"startDate": "2000-01-31T23:00:00.000Z",
"endDate": "3000-01-31T23:00:00.000Z"
},
{
"name": "TWS",
"id": "TWS",
"type": "team",
"readOnly": true,
"flex": 3,
"expanded": true,
"level": 0,
"children": [
{
"doc_id": 1017,
"first_name": "Nedo",
"last_name": "Cvijanovic",
"avatar": null,
"username": "51400@users.aisground.com",
"password": "06c18bb64d7f699c9e254459fdd9c519:09ec74a00d78eda41084f24930ecd2ed",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "TL3@TOI-F",
"dispo_has_message": 0,
"default_parent_doc_id": null,
"id": 1017,
"name": "Nedo Cvijanovic",
"startDate": "2025-02-04T13:00:00.000Z",
"endDate": "2025-02-04T22:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"TWS"
],
"eventLayout": "none",
"level": 1
},
{
"doc_id": 1020,
"first_name": "Mohamed",
"last_name": "Ibrahim",
"avatar": null,
"username": "85836@users.aisground.com",
"password": "7e3188adc8dd46047aa9cb08c995f338:156733eaf4607dafbc8cea383179e30e",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "TS2@TOI-F",
"dispo_has_message": 0,
"default_parent_doc_id": null,
"id": 1020,
"name": "Mohamed Ibrahim",
"startDate": "2025-02-04T13:45:00.000Z",
"endDate": "2025-02-04T22:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"TWS"
],
"eventLayout": "none",
"level": 1
},
{
"doc_id": 1021,
"first_name": "Savo",
"last_name": "Jevtic",
"avatar": null,
"username": "51415@users.aisground.com",
"password": "dbcf5dfa859382c4f57dfea45406bae2:4224c264fd4b34104b716ca4f3e4bde8",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": "2025-01-23T10:43:01.987Z",
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "WS2@WAT-F",
"dispo_has_message": 0,
"default_parent_doc_id": null,
"id": 1021,
"name": "Savo Jevtic",
"startDate": "2025-02-04T14:15:00.000Z",
"endDate": "2025-02-04T22:45:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"TWS"
],
"eventLayout": "none",
"level": 1
}
],
"startDate": "2000-01-31T23:00:00.000Z",
"endDate": "3000-01-31T23:00:00.000Z"
},
{
"name": "Cabin Cleaning",
"id": "Cabin Cleaning",
"type": "team",
"readOnly": true,
"flex": 3,
"expanded": true,
"level": 0,
"children": [
{
"doc_id": 1132,
"first_name": "Naumoska",
"last_name": "Tamara",
"avatar": null,
"username": "90116@users.aisground.com",
"password": "5144f26bb5daf609180f047d08c4828e:d1491aea49f6cc4d8c1df435273a45d2",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "S52@GL-F",
"dispo_has_message": 0,
"default_parent_doc_id": null,
"id": 1132,
"name": "Naumoska Tamara",
"startDate": "2025-02-04T16:45:00.000Z",
"endDate": "2025-02-04T23:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Cabin Cleaning"
],
"eventLayout": "none",
"level": 1,
"children": [
{
"doc_id": 1064,
"first_name": "Hanen",
"last_name": "Khlifi-Ipek",
"avatar": null,
"username": "21171@users.aisground.com",
"password": "7e93626e52eda4d16d014356ed2a1773:b4c40e0a48795dda4ec87c49ed0b0e39",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1132,
"shift_function": "S54@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1132,
"id": 1064,
"name": "Hanen Khlifi-Ipek",
"startDate": "2025-02-03T17:00:00.000Z",
"endDate": "2025-02-03T20:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1127,
"first_name": "Clifton",
"last_name": "Clarke",
"avatar": null,
"username": "21170@users.aisground.com",
"password": "e3e6d97ee07c2b583fde4ee924566c01:a2186f6a3feaee99b44e4e8f19870fd6",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1132,
"shift_function": "S54@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1132,
"id": 1127,
"name": "Clifton Clarke",
"startDate": "2025-02-03T17:00:00.000Z",
"endDate": "2025-02-03T20:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1135,
"first_name": "Jetishi",
"last_name": "Fitore",
"avatar": null,
"username": "90118@users.aisground.com",
"password": "5cff5bb64d24e13cc5a188259feccd6e:d726b0cf8d727bdebb286f9f5ffe240d",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1132,
"shift_function": "S52@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1132,
"id": 1135,
"name": "Jetishi Fitore",
"startDate": "2025-02-04T16:45:00.000Z",
"endDate": "2025-02-04T21:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
}
]
},
{
"doc_id": 1169,
"first_name": "Ahmed",
"last_name": "Sayed",
"avatar": null,
"username": "90176@users.aisground.com",
"password": "63d41e5601fa5affc222815b6fd35e88:45c5e730e84ec1488056c8f2e253e542",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "S51@GL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1176,
"id": 1169,
"name": "Ahmed Sayed",
"startDate": "2025-02-04T16:00:00.000Z",
"endDate": "2025-02-05T01:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Cabin Cleaning"
],
"eventLayout": "none",
"level": 1,
"children": [
{
"doc_id": 1056,
"first_name": "Valentine",
"last_name": "Berisha",
"avatar": null,
"username": "74794@users.aisground.com",
"password": "cd78c2059ed97d2161c6eba17d7546a2:1fbe0d6ee45f4d4b1f732e9b9979a761",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1169,
"shift_function": "S51@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1169,
"id": 1056,
"name": "Valentine Berisha",
"startDate": "2025-02-04T16:00:00.000Z",
"endDate": "2025-02-04T21:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1059,
"first_name": "AISE",
"last_name": "MEMET",
"avatar": null,
"username": "90065@users.aisground.com",
"password": "dc260ab185d28e2662eea9548b5acbde:e114bd628bf0b33855a606de0d75ddd0",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1169,
"shift_function": "S51@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1169,
"id": 1059,
"name": "AISE MEMET",
"startDate": "2025-02-04T17:00:00.000Z",
"endDate": "2025-02-04T21:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
}
]
},
{
"doc_id": 1212,
"first_name": "FREI",
"last_name": "MILA",
"avatar": null,
"username": "51407@users.aisground.com",
"password": "26e33d8f49346cbf075dade7402702e4:20e09d4f3dd694aa8abe3be792fffaa7",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "S51@GL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1132,
"id": 1212,
"name": "FREI MILA",
"startDate": "2025-02-04T16:00:00.000Z",
"endDate": "2025-02-05T01:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Cabin Cleaning"
],
"eventLayout": "none",
"level": 1
},
{
"doc_id": 1248,
"first_name": "Dayana",
"last_name": "Cuesta",
"avatar": null,
"username": "90173@users.aisground.com",
"password": "53229edf2a8a3b740d7759ec60b7bd35:ce884d9b6f05aac454473f9e1d6d4a82",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": null,
"shift_function": "S54@GL-F",
"dispo_has_message": 0,
"default_parent_doc_id": null,
"id": 1248,
"name": "Dayana Cuesta",
"startDate": "2025-02-04T16:45:00.000Z",
"endDate": "2025-02-04T23:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Cabin Cleaning"
],
"eventLayout": "none",
"level": 1,
"children": [
{
"doc_id": 1112,
"first_name": "Tsige",
"last_name": "Tesfasilase",
"avatar": null,
"username": "21166@users.aisground.com",
"password": "d78f6fafc81b3085394ec717bdcb7af3:8a497cf64de1ca75a1d684bec759b219",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1248,
"shift_function": "S54@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1248,
"id": 1112,
"name": "Tsige Tesfasilase",
"startDate": "2025-02-04T15:45:00.000Z",
"endDate": "2025-02-04T19:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1148,
"first_name": "Ferreira",
"last_name": "Maria",
"avatar": null,
"username": "90128@users.aisground.com",
"password": "5c81fdf223930865c29a759c0a9f02ae:73ee66370f2eb437c99cb79e0d6926b3",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1248,
"shift_function": "S54@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1248,
"id": 1148,
"name": "Ferreira Maria",
"startDate": "2025-02-04T15:45:00.000Z",
"endDate": "2025-02-04T19:30:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1173,
"first_name": "Halili",
"last_name": "Irisha",
"avatar": null,
"username": "90186@users.aisground.com",
"password": "844bbbbabff0c8976914979bcb648a14:d239d926a7dc9c94f6b8d7cb29cf5bfc",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1248,
"shift_function": "S53@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1248,
"id": 1173,
"name": "Halili Irisha",
"startDate": "2025-02-03T17:00:00.000Z",
"endDate": "2025-02-03T20:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1181,
"first_name": "Mirlinda",
"last_name": "Azemi",
"avatar": null,
"username": "21178@users.aisground.com",
"password": "2df6b9ea3430221d1736eecd2db5ef72:3d775b1bb1c5340493853785e4d717a4",
"password_changed_at": null,
"is_active": true,
"has_messages": 2,
"pda_number": null,
"is_online": false,
"ping_at": "2025-01-15T21:10:51.989Z",
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1248,
"shift_function": "S53@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1248,
"id": 1181,
"name": "Mirlinda Azemi",
"startDate": "2025-02-03T17:00:00.000Z",
"endDate": "2025-02-03T20:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1182,
"first_name": "Elisa",
"last_name": "Romano",
"avatar": null,
"username": "90196@users.aisground.com",
"password": "6d7c137712eca66bcd8eaa59df06911f:8f2ada4c93778b237fc8758a8fcf28f1",
"password_changed_at": null,
"is_active": true,
"has_messages": 2,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1248,
"shift_function": "S53@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1248,
"id": 1182,
"name": "Elisa Romano",
"startDate": "2025-02-03T17:00:00.000Z",
"endDate": "2025-02-03T20:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
},
{
"doc_id": 1252,
"first_name": "Vanesa",
"last_name": "Bartolome",
"avatar": null,
"username": "90197@users.aisground.com",
"password": "65313a95cc226f96e45282c9d37b7440:7cfb450447f39bcb8bc263a3b67ab8ac",
"password_changed_at": null,
"is_active": true,
"has_messages": 0,
"pda_number": null,
"is_online": false,
"ping_at": null,
"is_system_user": false,
"device_doc_id": null,
"company_doc_id": 2,
"devicetoken": null,
"parent_doc_id": 1248,
"shift_function": "S53@CL-F",
"dispo_has_message": 0,
"default_parent_doc_id": 1248,
"id": 1252,
"name": "Vanesa Bartolome",
"startDate": "2025-02-03T17:00:00.000Z",
"endDate": "2025-02-03T20:00:00.000Z",
"expanded": true,
"team_name": "Main",
"user_team_levels": [
"Main"
],
"eventLayout": "none",
"level": 2
}
]
}
],
"startDate": "2000-01-31T23:00:00.000Z",
"endDate": "3000-01-31T23:00:00.000Z"
}
]