Vertical align of datatable spans


Is it possible to vertical-align text in row spans? For example, I would like to modify this example to put Country text (USA, Italy…) in the middle of the span (vertically).


Hi @jpuntomarcos ,

You should wrap the column content into the div tag, and then apply css for the span area and for the div element as well.

Please, check the snippet: Code Snippet

1 Like

Thanks a lot for the solution, it works :slight_smile: