Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular UI Grid adjust row height based on content

Is it possible to adjust the row height in the grid to display the entire content?

like image 206
Shak Ham Avatar asked Nov 01 '22 14:11

Shak Ham


1 Answers

You will have to override the 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;
}
like image 163
Aditya Sethi Avatar answered Nov 11 '22 04:11

Aditya Sethi