To allow multiline text in the headers the .aw-text-wrap class should be applied to the header parent template (headers).
.aw-text-wrap
headers
obj.setHeaderHeight(40); obj.getHeadersTemplate().setClass("text", "wrap");
Multiline text in grid cells