0

I am trying to change column name using html tag. I dont know if it's clean but i want to use a on my js code to rename my column using ui-grid. some thing like :

$scope.gridOptions = {
            enableFiltering: true,
            enableColumnResizing : true,
            enableHorizontalScrollbar : true,
            columnDefs: [
                { field: 'type', name:'<bean:message key="data.type"/>' }
            ]
        };
    $scope.gridOptions.data = $scope.overviewImport;

dont ask me why i'm using the tag

But without showing the html code on my page !

thx.

DJBen
  • 1
  • 1

1 Answers1

0

Try using headerTemplate and grid.AppScope.