Our powerful JS Calendar component


Post by Nagesh@Apoorva.com »

Hi Team,
Able to add colors to users, but there is an issue with user loading on the left panel.
On each page refresh the users are loading in different order. I tried using Order By user name on the server side still facing the same issue. This is causing confusion for the end user.


Post by Animal »

You must have added your own sorter and removed the default one then.

Because Sidebar has

            resourceFilter : {
                type       : 'resourcefilter',
                flex       : '1 1 auto',
                weight     : 200,
                minHeight  : 110,
                scrollable : {
                    overflowY : 'auto'
                },
                store : {
                    sorters : [{
                        field     : 'name',
                        ascending : true
                    }]
                },

                // We must only see the resources that are filtered in
                masterFilter(r) {
                    return this.eventStore.resourceStore.isAvailable(r);
                }
            }

As you can see, it sorts by user name ascending:

Screenshot 2023-05-22 at 14.14.48.png
Screenshot 2023-05-22 at 14.14.48.png (285.65 KiB) Viewed 62 times

Post Reply