From c8c96b8ad3ac0c7b8ff0ecd8bd5bbc925c87b74c Mon Sep 17 00:00:00 2001 From: SamraHanifCareem Date: Thu, 9 Mar 2023 23:31:11 +0500 Subject: [PATCH] feat: wrap text support added for list view --- superset-frontend/src/components/ListView/ListView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superset-frontend/src/components/ListView/ListView.tsx b/superset-frontend/src/components/ListView/ListView.tsx index f4b5f083c7335..0a1c14ddb4ccf 100644 --- a/superset-frontend/src/components/ListView/ListView.tsx +++ b/superset-frontend/src/components/ListView/ListView.tsx @@ -226,6 +226,7 @@ export interface ListViewProps { highlightRowId?: number; showThumbnails?: boolean; emptyState?: EmptyStateProps; + columnsForWrapText?: string[]; } function ListView({ @@ -248,6 +249,7 @@ function ListView({ defaultViewMode = 'card', highlightRowId, emptyState, + columnsForWrapText, }: ListViewProps) { const { getTableProps, @@ -399,6 +401,7 @@ function ListView({ columns={columns} loading={loading} highlightRowId={highlightRowId} + columnsForWrapText={columnsForWrapText} /> )} {!loading && rows.length === 0 && (