Closed hariprasadiit closed 7 years ago
You can use custom header templates like this:
<style>
.th {
width: 100%;
text-align: center;
}
</style>
<data-table-column>
<template is="header">
<div class="th">Header</div>
</template>
</data-table-column>
However, there is a best practice which you should be aware of:
@web-padawan thanks for the snippet.
Is there a way to center align column headers?
if not is this possible to have this feature?