From 7f72b062d123e50edf1bc224f8ee02ad3f2e027f Mon Sep 17 00:00:00 2001 From: Samra Hanif <48474146+samraHanif0340@users.noreply.github.com> Date: Tue, 7 Jan 2025 23:26:06 +0500 Subject: [PATCH] feat(Sqllab): Enabling selection and copying of columns and rows in sql lab and dataset view (#31602) --- superset-frontend/src/components/Table/VirtualTable.tsx | 1 - superset-frontend/src/components/Table/index.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/superset-frontend/src/components/Table/VirtualTable.tsx b/superset-frontend/src/components/Table/VirtualTable.tsx index 5b49a8f66..4eb4842e8 100644 --- a/superset-frontend/src/components/Table/VirtualTable.tsx +++ b/superset-frontend/src/components/Table/VirtualTable.tsx @@ -53,7 +53,6 @@ const StyledTable = styled(AntTable)<{ height?: number }>( th.ant-table-cell { font-weight: ${theme.typography.weights.bold}; color: ${theme.colors.grayscale.dark1}; - user-select: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; diff --git a/superset-frontend/src/components/Table/index.tsx b/superset-frontend/src/components/Table/index.tsx index dd3199f76..1495befa5 100644 --- a/superset-frontend/src/components/Table/index.tsx +++ b/superset-frontend/src/components/Table/index.tsx @@ -174,14 +174,12 @@ const StyledTable = styled(AntTable)<{ height?: number }>( th.ant-table-cell { font-weight: ${theme.typography.weights.bold}; color: ${theme.colors.grayscale.dark1}; - user-select: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ant-table-tbody > tr > td { - user-select: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;