Hi,
in the ng-grid.d.ts file I needed to do a change in the export interface IGridOptions:
I had to change from columnDefs?: IColumnDef[] to columnDefs?: any, otherwise I cannot write $scope.gridOptions.columnDefs = "colDefs", assigning to the columndef property another variable in the scope.
Looks me this notation is very used to assign dinamically the column definitions.
Hi,
in the ng-grid.d.ts file I needed to do a change in the export interface IGridOptions:
I had to change from columnDefs?: IColumnDef[] to columnDefs?: any, otherwise I cannot write $scope.gridOptions.columnDefs = "colDefs", assigning to the columndef property another variable in the scope.
Looks me this notation is very used to assign dinamically the column definitions.