Reputation: 189
I want to capture the sorting change happening in the grid column and update a boolean in the grid. I tried the following code in this Sencha Fiddle.
But when I click on the column headers for sorting, the contents are sorted, but the sortchange event listener is not triggered.
Upvotes: 0
Views: 1144
Reputation: 604
You must put the sortchange in the grid's listener instead of the column's listener
listener: {
sortchange : function()
{
your code here
}
}
Upvotes: 1