Writing custom formatters for slick grid
While writing custom cell formatters function PercentCompleteFormatter(row, cell, value, columnDef, dataContext) This is the basic definition we have to follow.can i get explanation about dataContext argument in slick grid.What it actually represents. The exact code for this is function PercentCompleteFormatter(row, cell, value, columnDef, dataContext) { if (value == null || value === "") { return "-"; } else if (value < 50) { return "<span style='color:red;font-weight:bold;'>" + value + "%</span>"; } else { return "<span style='color:green'>" + value + "%</span>"; } } I just want what