I am using ng-grid and want to display "active/inactive" instead of 0/1 based on the bit flag in the table.
Edited to add:
The grid has columns like EmployeeName, EmployeeRole, etc. For the Status column, I want to display the status as Active/Inactive. The value for this is filed in the table is 0/1. How do I transform the data, should I use cell template?
`$scope.cols = [
{ field: 'EmployeeName', displayName: 'Name', },
{ field: 'Role', displayName: 'Role' },
{field: 'Status', displayName: 'Status'}
];'
Thanks for any help!