ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Grouping fails while implementing auto row height in angular ui-grid

Open arya220 opened this issue 10 years ago • 3 comments

I have been trying to create an angular ui-grid with auto row height.

Meaning height of a particular row should increase automatically when the contents of the cell does not fit in. I am using ng-input-tags library for one of the columns where the contents of the cell is supposed to increase.

However I was able to achieve the same with following CSS code.

.ui-grid-row {
  height: auto!important;
}

.ui-grid-row > div {
  display: table-row;
}

.ui-grid-row > div .ui-grid-cell {
  display: table-cell;
  float: none;
  vertical-align: middle;
  height: auto!important;
}

.ui-grid-cell-contents {
  white-space: normal;
  text-overflow: inherit;
  word-break: break-word;
}

But when I applied grouping and selection, the alignment breaks completely. Here is a plnkr which I have created to demonstrate the issue.

I am expecting the grid to support auto row height, at the same time it should not loose grouping and selection functionality.

arya220 avatar Aug 24 '16 07:08 arya220

I have the same issue.

shamimafridi avatar Aug 30 '16 08:08 shamimafridi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 08 '18 15:06 stale[bot]

This issue has been automatically closed because it has not had recent activity. If you believe that this is still an issue in the latest version, feel free to re-open it. Thank you for your contributions.

stale[bot] avatar Jul 08 '18 16:07 stale[bot]