Skip to content

Commit 8e194a3

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
[DataGrid] Add checkboxes to selected columns
If the column is visible display a checkbox in front of it. Bug: none Change-Id: I6bacdd0a199eb84dd6469c2faa971b53386fab4d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6276568 Commit-Queue: Nikolay Vitkov <[email protected]> Reviewed-by: Danil Somsikov <[email protected]> Reviewed-by: Kim-Anh Tran <[email protected]>
1 parent f1fa684 commit 8e194a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front_end/ui/legacy/components/data_grid/DataGridElement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class DataGridElement extends HTMLElement {
9191
}
9292
this.#dataGrid.setColumnsVisibility(
9393
new Set(this.#columnsOrder.filter(column => !this.#hiddenColumns.has(column))));
94-
});
94+
}, {checked: !this.#hiddenColumns.has(columnId)});
9595
}
9696
}
9797
});

0 commit comments

Comments
 (0)