BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Index.js
var grid = new ej.grids.Grid({
dataSource: data,
columns: [
{ field: 'OrderID', headerText: 'Order ID', width: 120 },
{ field: 'CustomerID', headerText: 'CustomerID', textAlign: 'Right', width: 125 },
{
headerText: 'Address', textAlign: 'Center',
template: '#template', width: 150
}
],
queryCellInfo : function(args){
if(args.column.headerText == 'Address'){
console.log(args);
}
},
height: 315
});
grid.appendTo('#Grid');
index.html
<div id="container">
<script id="template" type="text/x-template">
"${ShipCountry}-${ShipAddress}"
</script>
<div id="Grid"></div>
</div>
|