Custom Formatter - mleibman/SlickGrid GitHub Wiki

A custom formatter is a function of the form function(row, cell, value, columnDef, dataContext) and returns a formatted version of the data in each cell of this column. For example, setting formatter to function(r, c, v, cd, dc) { return “Hello!”; } would overwrite every value in the column with “Hello!” See defaultFormatter in slick.grid.js for an example formatter.

Please note: the default formatter takes care of escaping HTML special characters. You probably want to do so on your own.

⚠️ **GitHub.com Fallback** ⚠️