Skip to content

Commit 2f3fc55

Browse files
committed
Merge pull request #4563 from MatejQ/doc-cellclass
docs: Fix incorrect parameters of cellClass and headerCellClass
2 parents aa7ab65 + c5a1dce commit 2f3fc55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/core/factories/GridColumn.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ angular.module('ui.grid')
561561
* @name cellClass
562562
* @propertyOf ui.grid.class:GridOptions.columnDef
563563
* @description cellClass can be a string specifying the class to append to a cell
564-
* or it can be a function(row,rowRenderIndex, col, colRenderIndex) that returns a class name
564+
* or it can be a function(grid, row, col, rowRenderIndex, colRenderIndex) that returns a class name
565565
*
566566
*/
567567
self.cellClass = colDef.cellClass;
@@ -571,7 +571,7 @@ angular.module('ui.grid')
571571
* @name headerCellClass
572572
* @propertyOf ui.grid.class:GridOptions.columnDef
573573
* @description headerCellClass can be a string specifying the class to append to a cell
574-
* or it can be a function(row,rowRenderIndex, col, colRenderIndex) that returns a class name
574+
* or it can be a function(grid, row, col, rowRenderIndex, colRenderIndex) that returns a class name
575575
*
576576
*/
577577
self.headerCellClass = colDef.headerCellClass;

0 commit comments

Comments
 (0)