Jump to content


Photo

NextGrid 5.4 - word wrap in HTML columns


  • Please log in to reply
4 replies to this topic

#1 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 11 May 2011 - 05:27 PM

Boki, would it be possible to make wordwrap optional and disabled by default to have the same optical behavior as in previous versions?

Now, longer text in HTML columns is simply wrapped where it should be displayed to the right border of a cell without wrapping. The new forced wordwrap doesn't look well in such a case.

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 11 May 2011 - 10:12 PM

Hello Aim,

I will add such option. I was thinked that word-wrap is good for everyone.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 AIM

AIM

    Senior Member

  • Honorable Members
  • PipPip
  • 202 posts

Posted 12 May 2011 - 10:31 AM

I have uploaded a screenshot that shows the problem I'm talking about. It's your demo app where I changed the name column into a HTMLColumn.

Instead of writing the second name into the same line, it is wrapped and only displayed with a few pixels.

The HTMLColumn has already a WrapKind property. Would be perfect if you only enable word wrap if "WrapKind" is set to "wkWordWrap".

Attached File  z_000.png   76.91KB   14 downloads



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 12 May 2011 - 11:50 PM

Hi Aim,

I will now use WrapKind property while I draw html column. I will have a quick fix in next 1-2 days.

Boki
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 17 May 2011 - 09:18 PM

Hi Aim,

I think that I have add it. It was easier than I expected.

I will upload changes tomorrow.

Boki
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users