Skip to content

Commit 3b12b5c

Browse files
authored
Merge pull request #5782 from alexlukelevy/grid-api-row-visibility-docs
Correct parameter type for row visibility methods on gridApi
2 parents d9b5182 + 3dbe109 commit 3b12b5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/core/factories/GridApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* which will override any filtering or other visibility calculations.
6767
* If the row is currently visible then sets it to invisible and calls
6868
* both grid refresh and emits the rowsVisibleChanged event
69-
* @param {object} rowEntity gridOptions.data[] array instance
69+
* @param {GridRow} row the row we want to make invisible
7070
*/
7171
this.registerMethod( 'core', 'setRowInvisible', GridRow.prototype.setRowInvisible );
7272

@@ -79,7 +79,7 @@
7979
* If the row is currently invisible then sets it to visible and calls
8080
* both grid refresh and emits the rowsVisibleChanged event
8181
* TODO: if a filter is active then we can't just set it to visible?
82-
* @param {object} rowEntity gridOptions.data[] array instance
82+
* @param {GridRow} row the row we want to make visible
8383
*/
8484
this.registerMethod( 'core', 'clearRowInvisible', GridRow.prototype.clearRowInvisible );
8585

0 commit comments

Comments
 (0)