BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
var intl = new ej.base.Internationalization()
var grid = new ej.grids.Grid({
dataSource: data,
allowExcelExport: true,
.. . . .
columns: [
. . . .
{
field: "Applied",
headerText: "Order Date",
width: 130,
format: {type:'date', format:'HH:mm'},
textAlign: "Right"
}
],
excelQueryCellInfo: function(e) {debugger;
if(e.column.field === 'Applied'){
var format = e.column.format;
var intl = new ej.base.Internationalization();
var dFormatter = intl.getDateFormat(format);
e.value = dFormatter(e.value);
console.log(e.value); // returns text value
}
}
});
grid.appendTo("#Grid");
|