| <div id="Grid" ej-grid e-datasource="data" e-allowpaging="true" e-querycellinfo = "queryCellInfo" > <div e-columns> --- </div> </div> <script> var obj = [ { "EmployeeID": 1, "LastName": "Davolio", "Freight": 33.38, "Title": "Sales Representative", "City": "Seattle", "Country": "USA" }, --- ]; angular.module('listCtrl', ['ejangular']) .controller('PhoneListCtrl', function ($scope) { $scope.data = obj; $scope.queryCellInfo = function(args){ if(args.column.field == "Freight") args.cell.innerText = args.rowData[args.column.field].toExponential(); } }); </script> |
Thank you for the response, that is working as expected.
I had looked into the queryCellInfo process but updated an incorrect property. I did spend a little more time in the API documentation for the QueryCellInfo, and realized my mistake.