Uncaught TypeError: this.grid.store.beforeSort is not a function
Sort method is there but is triggered to late.
My project is allready in production and making sample project could take a while.
How can I disable column sorting for GroupSummary?
Re: [ANGULAR] Wrong sorting on groupSummary
Posted: Tue Mar 14, 2023 5:18 pm
by tasnim
Uncaught TypeError: this.grid.store.beforeSort is not a function
the grid might be not defined. You could try setting a breakpoint to debug it.
My project is allready in production and making sample project could take a while.
Could please try if you could reproduce it with one of our demos https://bryntum.com/products/scheduler/examples/ (search group in the search bar)? So it will be really easy for us to investigate.
How can I disable column sorting for GroupSummary?
Clicking on City Column will sort asc / desc, however when custom sorting with groupSortFn is defined its not using that function to sort items, but sorting it as a string.
Thanks for the info and the help
Re: [ANGULAR] Wrong sorting on groupSummary
Posted: Wed Mar 15, 2023 3:48 pm
by tasnim
Hi,
Yes, it is sorted as a string
But I'm not sure what you mean by
function to sort items
Could you elaborate a bit?
Re: [ANGULAR] Wrong sorting on groupSummary
Posted: Wed Mar 15, 2023 3:50 pm
by sanid
I meant this method beneath , it is only initialy triggered, but not later when user klicks on the header to sort it.