Premium support for our pure JavaScript UI components


Post by pfund »

Hi,

i have a question to the sorting behaviour of the gantt component.
In your advanced sample i renamed the second task to "ZWebsiteDesing":

Screenshot 2024-02-20 163420.png
Screenshot 2024-02-20 163420.png (102.64 KiB) Viewed 100 times

now, if i order by name it is on the first or last position.

But what i want is to get the initial ordering back, even if i remove sorting it stays on the same position.

Screenshot 2024-02-20 163420.png
Screenshot 2024-02-20 163420.png (102.64 KiB) Viewed 100 times

So it looks like the sorting is more an ordering because we have the same issue in our app.
If a users sorts by name and reloads everything gets back to original sort order but if the user adds a new activity the parentIndex of all tasks get saved and the original order is destroyed.

Is there an easy way to let the user sort the plan only on the client and dont make it persistent?

Attachments
Screenshot 2024-02-20 163433.png
Screenshot 2024-02-20 163433.png (78.31 KiB) Viewed 100 times

Post by ghulam.ghous »

Hi there,

We do not support this yet but we have a feature request open to implement this behaviour. Here's the ticket https://github.com/bryntum/support/issues/1833. You can subscribe to it to keep track of updates. I have also added a comment on the ticket.

Regards,
Ghous


Post Reply