-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Description
Which Umbraco version are you using?
17.0.0-rc1
Bug summary
As far as I can tell, there is no way to add the clip-text attribute on a cell in umb-table. It would be nice if the "Overflow Detection" feature of uui-table was exposed when used via umb-table.
Specifics
The sample from the docs https://uui.umbraco.com/?path=/docs/uui-table--docs shows that the clip-text attribute should be used to activate the overflow detecton.
<uui-table-cell clip-text>Block List Editor</uui-table-cell>
Maybe we could add some kind of optional setting on UmbTableColumn and then in table.element.ts update _renderRowCell() to be like
<uui-table-cell .clip-text=${column.clipText}>
${this._renderCellContent(column, item)}
</uui-table-cell>
Steps to reproduce
..
Expected result / actual result
Let me know if the purposed approach would be decent then I can add a PR for upcoming versions.