Cell formatting works by defining render function for the column. There is a set of predefined
formatting functions (int, float, number, money, date, percent) or you can define your own function.
$(function () {
$('#grid').w2grid({
name: 'grid',
columns: [
{ field: 'fname', caption: 'Full Name', size: '200px',
render: function (record, index, column_index) {
var html = '