TableCell
<ui5-table-cell> | Since 2.0.0The ui5-table-cell represents a cell inside of a ui5-table.
It is tightly coupled to the ui5-table and thus should only be used in the table component.
ES6 Module Import
import @ui5/webcomponents/dist/TableCell.js;
Properties
horizontalAlign
Slots
default
Events
No events available for this component.
Methods
No methods available for this component.
CSS Parts
No CSS parts available for this component.
Horizontal cell alignment
Controls the horizontal alignment of cells by using the horizontalAlign property.
Please note that the behavior of horizontalAlign depends on where you set it:
horizontalAlignis set onTableHeaderCelllevel
Changes the horizontal alignment of theTableHeaderCelland its correspondingTableCell.horizontalAlignis set onTableCelllevel only
The horizontal alignment is only changed for this oneTableCellhorizontalAlignis set onTableHeaderCellandTableCelllevel
Changing thehorizontalAlignproperty onTableHeaderCelllevel changes only theTableHeaderCellitself and thoseTableCellwithout ahorizontalAlignproperty.