TableCell
<ui5-table-cell>
| Since 2.0.0info
This web component is available since 2.0 with an experimental flag and its API and behavior are subject to change.
The 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:
horizontalAlign
is set onTableHeaderCell
level
Changes the horizontal alignment of theTableHeaderCell
and its correspondingTableCell
.horizontalAlign
is set onTableCell
level only
The horizontal alignment is only changed for this oneTableCell
horizontalAlign
is set onTableHeaderCell
andTableCell
level
Changing thehorizontalAlign
property onTableHeaderCell
level changes only theTableHeaderCell
itself and thoseTableCell
without ahorizontalAlign
property.