Column header wrapping when using Angular ui-grid

前端 未结 2 2014
一个人的身影
一个人的身影 2021-02-20 15:21

I have upgraded my AngularJS SPA application from ng-grid v2.0.7 to ui-grid v3 and my column headers no longer wrap around. My column headers are now s

2条回答
  •  野的像风
    2021-02-20 16:05

    I added the following css to get mine to work. The line height auto adjusts when depending on the number of lines needed. When scrolling horizontally, it will change to number of lines based on what is visible.

    .ui-grid-header-cell-label {
        display:inline-block;
        white-space:initial;
    }
    

提交回复
热议问题