Search found 8 matches

Hi,

Finally the way it works like i need is in this way:
grid.store.sort({ field : yourColumn.field, fn : myCustomFunction}, false)
Thanks!
Thanks. That way apparently is doing the same as when i click the sort icon on the header. But when i call store.filterBy() the sorting status is lost. The sorting status remains when the sort is enabled by clicking the sort icon. :-/
Could be possible to take the sorting widget on the header column and simulate a mouse click event on it?
Thanks but that has the same effect as grid.store.sort('startDate'). It is sorting but not by using the sorting function passed in the sortable property when configuring the column. Only clicking by hand on the sorter icon of the column is using that sorting function.
Thanks. I now understand that this sort call has nothing to do with the Column. So.. can i click the sort icon of the column programmatically? I need the icon visual pressed status and the sorting to remain between filtering changes. From a user point of view i need not having to press the sort icon...
I mean that if in the column config you provide a custom sorting function in the sortable property this function is called when you click on the sort icon of the header but is not called when you call it by code: store.sort('foo') https://bryntum.com/docs/scheduler/#Grid/column/Column#config-sortable
Thanks. - I'm defining a custom sorter for the 'startDate' column. - When i click on the sort icon the custom sorter is called and everything works well. - When i call to store.sort('startDate') my custom sorter is not called and the sorting is wrong.. - If a call store.sort(myfuncion) with my custo...
Hi,

How the sort icon of a column header can be clicked programmatically?

Thanks!