我有一个列,我想动态更改高度但是一旦我更改了高度,您可以在图像中看到另一列的高度得到相应调整,但它们的背景列现在是棕色的。
我改变了这个CSS类的高度
.ui-grid-cell{height:auto}
我想让其他栏目背景全白,请问如何解决?
最佳答案
您可能需要更改 ui-grid.css
.cellheight .ui-grid-row {
display: table-row;
height: auto !important;
}
.cellheight .ui-grid-cell {
display: table-cell;
height: auto !important;
vertical-align: middle;
float: none;
}
.cellheight .ui-grid-cell-contents {
height: auto !important;
}
关于javascript - angularjs ui-grid 将列高度更改为自动会导致奇怪的行显示在其他列上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37306417/