perf(data-table): optimize action column width allocation (#6135)
- apply a minimum width hint to content-sized columns to prevent wasted space. - preserve remaining table width allocation across regular data columns.
This commit is contained in:
@@ -54,7 +54,7 @@ function getColumnWidth<TData>(
|
||||
totalSize: number
|
||||
) {
|
||||
if (isContentSizedColumn(columnId)) {
|
||||
return undefined
|
||||
return '1%'
|
||||
}
|
||||
|
||||
if (table.options.enableColumnResizing === true) {
|
||||
|
||||
Reference in New Issue
Block a user