Using ui-grid I'd like to have a column with a dynamic cellFilter, so it can be updated, for example from 'number' to 'currency'. I tried changing the parameter cellFilter from the column but it doesn't reflect in the grid. I tried also reference the cellFilter to a variable like cellFilter: col.colDef.filter but get the error
Error: [$parse:syntax] Syntax Error: Token '.' is an unexpected token at column 33 of the expression [grid.getCellValue(row, col) |col.colDef.filterFormat] starting at [.colDef.filterFormat].
plunkr: http://plnkr.co/edit/KhR4kbLAT61vAm6AlSCr?p=preview Any suggestion?