1
Help for ParamQuery Grid (free version) / Re: linking to url in a cell
« on: October 31, 2013, 07:59:13 pm »
Perhaps this is what you are looking for:
Code: [Select]
var colModel = [
{ title: "Employee name", width: 200, dataType: "string", dataIndx: "EmployeeName" },
{ title: "Hired on", width: 150, dataType: "string", dataIndx: "DateTimeHired", render: function (ui) {
var cellData = ui.rowData[this.dataIndx];
if (cellData) {
// Convert JSON DateTime e.g. /Date(2176326711)/ to yyyy-mm-dd format
return deserializeJSONDateTime(cellData);
}
}
];