0
 var serviceAddressTemplate = '<div class="grid-tooltip" tooltip="{{ row.entity.SPServiceRequest_address }}" tooltip-placement="top" tooltip-append-to-body="true"><div class="ui-grid-cell-contents">{{ row.entity.SPServiceRequest_address }}</div></div>';

I am new to angularjs .
This is my code to wrap text in ui-grid but its not effecting in column.
Can any help me to do wrap content in cells in anguarjs.

1 Answer 1

4

Use the following CSS code to allow text wrapping in uigrid

/* CSS to allow text wrapping */
.ui-grid-viewport .ui-grid-cell-contents {
  word-wrap: break-word;
  white-space: normal !important;
}

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

.ui-grid-row div[role=row] {
  display: flex ;
  align-content: stretch;
}
/* End of CSS to allow text wrapping */
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.