Skip to content

Commit 3e5aef4

Browse files
committed
add comment
1 parent 26ecad4 commit 3e5aef4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/grid/src/GridMetrics.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ export type GridMetrics = {
134134
visibleColumns: readonly VisibleIndex[];
135135

136136
// Array of visible, non-hidden columns, by grid index
137+
// Hidden columns may be included in visibleColumns and visibleColumnWidths with a width of 0 because users can see them and adjust their width
138+
// But we do not want the grid renderer to iterate over them, so we provide this separate array
137139
visibleNonHiddenColumns: readonly VisibleIndex[];
138140

139141
// Map of the height/width of visible rows/columns

0 commit comments

Comments
 (0)