I have a column- Company
in ExtJs gridPanel.
In the backend I have put a condition -
{id:'Company',header: "Company", sortable: true, dataIndex: 'comp',
renderer: function(value, cell) {
if(status='unemployed')
{ return 'n/a';}
}
Now,If the column has values like 'Apple'
,'Google'
,'n/a'
,'Microsoft'
, It is not sorting it in proper order. How should I handle 'n/a'
while sorting?