It'd be great if we could declaratively choose to not wrap table columns

  • 5
  • Idea
  • Updated 3 years ago
  • (Edited)
Yo! I hope y'all are well. I often find myself assigning pixel widths to table fields so that the text doesn't wrap. I'm aware I can automate this with some javascript and some css, but it'd be great if you could declaratively choose to not wrap text in a table field. Particularly now that we have scrolling tables where the width is less of a concern.
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb
  • bathed in happiness

Posted 3 years ago

  • 5
Photo of Conlan O'Rourke

Conlan O'Rourke

  • 3,280 Points 3k badge 2x thumb
+1 on this issue...

I am also having this issue in a field editor component...along with a lot of other people (given the number of threads recently)...

The official response from Skuid to fix this issue is that you need to upgrade to the most recent version....

However, I just upgraded 30 minutes ago, and am still experiencing this issue....

I also tried using CSS word-wrap property along with !important directive, targeting the field editor, the column, and the individual field...but nothing has worked so far.
Photo of Conlan O'Rourke

Conlan O'Rourke

  • 3,280 Points 3k badge 2x thumb
Louis,
I found the CSS culprit...to fix the word wrapping, try dropping in this CSS line anywhere on any in-line CSS resource:

.nx-basicfieldeditor-item > .nx-field > .nx-fieldtext {    word-break: normal;
}