bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
53 stars 6 forks source link

WBS index is out of sync #10067

Open bmblb opened 1 week ago

bmblb commented 1 week ago

Forum post

Hi,

We are implementing Live Updates in a web application with Angular 14, .NET 8 and Gantt version 6.0.5, using the realtime-updates example.

We open two browsers and add a task above to the selected, in the second browser we see how the task is added correctly in the same place, but if we reload the browser now the task appears at the end of the list instead of the place it occupied at the time of creation.

The initial data loading is done with api/load as in the aspnetcore example, but the changes are made with the Revisions configuration and using SignalR.

TaskModel:

{ name: 'parentIndex', persist: true },
{ name: 'orderedParentIndex', persist: true }

Project config:

taskStore: { useOrderedTreeForWbs: true }

https://github.com/user-attachments/assets/1173e762-f3de-4139-b059-3da7ca490079