Angularjs 角度UI网格根据内容调整行高

Angularjs 角度UI网格根据内容调整行高,angularjs,angular-ui-grid,Angularjs,Angular Ui Grid,是否可以调整网格中的行高以显示整个内容?您必须覆盖引导css .ngCell { display : table-cell; height: auto !important; overflow:visible; position: static; } .ngRow { display : table-row; height: auto !important; position: static; } .ngCellText{ height: auto !imp

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

您必须覆盖引导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;
}

你能为它创建一个plunkr或fiddler吗?我不能让它工作。你使用的是旧的网格,我说的是新的网格,它仍处于测试阶段。你对此有什么想法吗?谢谢你的帮助,阿迪蒂亚!你能提供你试图使用的指令的链接吗?.ui网格单元格{显示:表格单元格;高度:自动!重要;溢出:可见;位置:静态;}.ui网格行{显示:表格行;高度:自动!重要;位置:静态;}.ui网格单元格内容{高度:自动!重要;空白:正常;溢出:可见;}不确定是否有效。我将尝试探索此新网格。感谢您的介绍,这看起来好多了:)