Angular UI Grid根据内容调整行高

时间:2014-11-19 19:41:11

标签: angularjs angular-ui-grid

是否可以调整网格中的行高以显示整个内容?

1 个答案:

答案 0 :(得分:2)

您必须覆盖bootstrap css

.ngCell  {
  display : table-cell;
  height: auto !important;
  overflow:visible;
  position: static;
}

.ngRow {
  display : table-row;
  height: auto !important;
  position: static;
}

.ngCellText{
  height: auto !important;
  white-space: normal;
  overflow:visible;
}