Remove sorting column unknown.
http://plnkr.co/edit/fS7yGE59coBnm98rlv63?p=preview I wanna remove sorting on a column, but i can't identify the column. if( sortColumns.length === 0 ){ console.log('default') } sortColumns.length is 0 each time when i wanna remove the sorting. Ascending and descending is working fine.
I'm not sure that the plunker shows what you are trying to say - I can't see any issues with it - it logs out the sort direction whenever the sort changes. Is there something missing?
There is no way to target the column on witch i'm removing the sorting. I have to remove the sort on all columns. And if i have implemented a sorting order, there is no way of removing the sorting on only one column because i don't know the column that has lunched the event. Please let me know if i can help with other info ..
Are you wanting to remove a column from the current sort state after it's been sorted?
If not, can you please be specific about the end result you're wanting?
I understood wrong the way that it's working the sorting implemented. I thought that the external sorting event it should return the column that has lunch the sorting event. But is returning all the columns and the sort priority and it's working fine. Please ignore all this and close the bug.