Skip to content
Jens Doose edited this page Jun 15, 2017 · 2 revisions

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.