0

Can angularjs grid be configured such that if content fits it just shows one row, but if content is big it expands to two rows maximum?

IsraGab
  • 4,819
  • 3
  • 27
  • 46
josh_boaz
  • 1,963
  • 7
  • 32
  • 69
  • Short answer is yes. What have you tried? Also, which grid module of angular are you using? please edit your question with more details – IsraGab Apr 14 '16 at 19:32
  • .ui-grid-cell-contents { height: 40px; white-space: normal; -ms-text-overflow: clip; -o-text-overflow: clip; text-overflow: clip; overflow: visible; } – josh_boaz Apr 14 '16 at 19:35
  • .ui-grid-cell { height: 50px !important; } Is this what you're looking for? – IsraGab Apr 14 '16 at 19:41
  • no i am looking for something more dynamic, like if the content inside cell can fit in one row, than adjust height accordingly, and if content is large, than adjust height to accomodate two rows instead of showing ellipses at the end – josh_boaz Apr 14 '16 at 19:53

0 Answers0