Created
September 23, 2015 18:44
-
-
Save hahn-kev/d99b6eb2714276916ccd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getYearData() { | |
return callGrid1Refresh(); | |
} | |
var callGrid1Refresh; | |
analysisMdl.gridOptions1 = { | |
onRegisterApi: function(api){ | |
callGrid1Refresh = api.iqms.refreshData; | |
}, | |
enablePaginationControls:false, | |
columnDefs: [ | |
{ field: 'period', displayName: 'Period', minWidth: 20 }, | |
{ field: 'startDate', displayName: 'From', cellFilter: 'date:\'' + $scope.iqDateFormat + '\'' }, | |
{ field: 'endDate', displayName: 'To', cellFilter: 'date:\'' + $scope.iqDateFormat + '\'' }, | |
{ field: 'total', displayName: 'Period Total', cellFilter: 'number: 2', cellClass: 'text-align-right' }, | |
{ field: 'ytd', displayName: 'YTD', cellFilter: 'number: 2', cellClass: 'text-align-right' } | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment