From 91a86652da245671be6018b6dbc1b3bc7ccdf4bf Mon Sep 17 00:00:00 2001 From: MatejQ Date: Fri, 23 Oct 2015 14:17:55 +0200 Subject: [PATCH] Fixed incorrect parameters of cellClass and headerCellClass --- src/js/core/factories/GridColumn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/core/factories/GridColumn.js b/src/js/core/factories/GridColumn.js index 109feef29c..110d24207b 100644 --- a/src/js/core/factories/GridColumn.js +++ b/src/js/core/factories/GridColumn.js @@ -561,7 +561,7 @@ angular.module('ui.grid') * @name cellClass * @propertyOf ui.grid.class:GridOptions.columnDef * @description cellClass can be a string specifying the class to append to a cell - * or it can be a function(row,rowRenderIndex, col, colRenderIndex) that returns a class name + * or it can be a function(grid, row, col, rowRenderIndex, colRenderIndex) that returns a class name * */ self.cellClass = colDef.cellClass; @@ -571,7 +571,7 @@ angular.module('ui.grid') * @name headerCellClass * @propertyOf ui.grid.class:GridOptions.columnDef * @description headerCellClass can be a string specifying the class to append to a cell - * or it can be a function(row,rowRenderIndex, col, colRenderIndex) that returns a class name + * or it can be a function(grid, row, col, rowRenderIndex, colRenderIndex) that returns a class name * */ self.headerCellClass = colDef.headerCellClass;