Issue: While working with AntDesign's Table component, I have successfully set the width of each cell. However, I am facing a challenge with text overflow as I would like the overflowing text to be truncated and displayed with an ellipsis. My ultimate goal is to have this ellipsis trigger a tooltip displaying the hidden text when hovered over by the user.
Below is my current code snippet:
<Table
scroll={{ x: 1500, y: 240 }}
pagination={false}
columns={displayFile.headers.map((header) => ({
title: header.name,
dataIndex: header.name,
width: "10rem",
}))}
dataSource={displayFile.data.map((row, index) => ({
...row,
rowKey: `${displayFile.name}-row_${index}`,
}))}
rowKey={(record: any) => record.rowKey}
/>
Any suggestions or advice on this matter would be highly appreciated. Thank you!