Using ag-grid, is there a way to split a long header across 2 rows...
A break in the columnDefs headerName: 'Long<br />Header'
gets me part way there (using dev tools I can see the text has the br), however one of the surrounding elements has a height of 25px; <div class="ag-header" style="height: 25px;">
which I think causes the second line of the header to not be displayed.
I wondered about using group headers as an interim to get the text split, but longer term (when I need to group) that won't be an option...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…