3.2.0

How to vertically align header text to bottom?


Hi,

I have used the following codes to do wrap my headers.

DataGrid.setHeaderHeight(40);
DataGrid.getHeadersTemplate().setClass('text', 'wrap');


I works fine, but I want to align those one-line headers to the bottom. They are currently aligned in the middle. How do I do that? Thanks a lot.

Peter
Peter
January 26,
<style>

.aw-grid-header .aw-item-text {
vertical-align: bottom;
}

</style>
Alex (ActiveWidgets)
January 26,
Thanks a lot, Alex. Previously, I have

.aw-grid-header{vertical-align: bottom;}

but it doesn't work. Adding .aw-item-text does the trick.

Thanks!!
Peter
January 26,

This topic is archived.

See also:


Back to support forum