Flex 2 DataGrid problem

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6129
  • Loc: Seattle, WA
  • Status: Offline

Post July 10th, 2007, 9:37 am

Are there any Flex developers here?

If so, I need some help. I have a DataGrid displaying a bunch of information from a database. Some fields contain text that may or may not contain newline characters. Whenever one of the fields does, however, the entire row stretches so that all of the text is visible.

Is there any way to prevent the cell from displaying newlines? I've tried setting variableRowHeight=false and wordWrap=false, with no luck.
The Beer Monocle. Classy.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 10th, 2007, 9:37 am

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post July 10th, 2007, 10:38 am

if you were using datagrid from c#, i would've known :D
but never did flex
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6129
  • Loc: Seattle, WA
  • Status: Offline

Post July 11th, 2007, 10:19 am

It seems like nobody hear writes apps in Flex. ::sigh::
The Beer Monocle. Classy.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 57 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.