Component Designs Support Forums
CDI Support Forums

Forums | Login | Join | My Profile | Inbox | Address Book | My Subscription  
My Forums | Member List | Search | Contact Admin | Log Out  

Wordwrap appears not to function

 
Logged in as: Guest
  Printable Version
All Forums >> [Components] >> ezGrid .NET >> Wordwrap appears not to function Page: [1]
Login
Message << Older Topic   Newer Topic >>
Wordwrap appears not to function - 3/2/2010 6:32:39 AM   
comtrendz

 

Posts: 18
Joined: 5/10/2006
Status: offline
I am trying to wrap test inside a cell that is longer that the column width. I have tries using the Wordwrap function but it does not appear to take affect. Code is

GridControl2.Cells(1, cnt).WordWrap = True
GridControl2.Cells(1, cnt).Item = mytext

Cell is 380 in width and text is about 600. The display scrolls off to the right.

Trying to find a fast resolution

_____________________________

GG
Post #: 1
RE: Wordwrap appears not to function - 3/2/2010 9:02:39 AM   
Maxx

 

Posts: 287
Joined: 3/22/2004
Status: offline
We ran a test and were able to reproduce the issue. The code will default to NoWrap no matter what you put into the property. We will fix, test and place an updated version of the grid on our site later today.

_____________________________

Director of CDI Support

(in reply to comtrendz)
Post #: 2
RE: Wordwrap appears not to function - 3/2/2010 11:10:54 AM   
Maxx

 

Posts: 287
Joined: 3/22/2004
Status: offline
The update is live on our site.

_____________________________

Director of CDI Support

(in reply to Maxx)
Post #: 3
RE: Wordwrap appears not to function - 3/2/2010 4:11:13 PM   
comtrendz

 

Posts: 18
Joined: 5/10/2006
Status: offline
Fix works.

Is their a way to include a vertical scroll bar inside a cell ? (Similar to a Rich Text box if the data is too large for the defined area)

_____________________________

GG

(in reply to Maxx)
Post #: 4
RE: Wordwrap appears not to function - 3/2/2010 4:46:21 PM   
Maxx

 

Posts: 287
Joined: 3/22/2004
Status: offline
Just off the top of my head I'd say no.

The reason is each cell is not a physical control which could contain another control, in your case a scroll bar. While each cell is an object it only contains physical characteristics of the cell which are used during the grid painting itself to the screen.

_____________________________

Director of CDI Support

(in reply to comtrendz)
Post #: 5
RE: Wordwrap appears not to function - 3/3/2010 4:43:24 AM   
comtrendz

 

Posts: 18
Joined: 5/10/2006
Status: offline
I am looking for a way for each cell to have a different height based on the amount of information it contains.
Some cells have only 2 lines of data but others have 10. adjusting each cell individually would be ideal.
When I use the .DefaultRowHeight it sets all the cells in that grid to the same size.

Do I have any options ?

_____________________________

GG

(in reply to Maxx)
Post #: 6
RE: Wordwrap appears not to function - 3/3/2010 4:59:06 AM   
comtrendz

 

Posts: 18
Joined: 5/10/2006
Status: offline
Sorry.. Spoke to soon... RTFM
gridcontrol1.rows(x).height = nn

(in reply to comtrendz)
Post #: 7
Page:   [1]
All Forums >> [Components] >> ezGrid .NET >> Wordwrap appears not to function Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


© Copyright Component Designs, Inc. 2001-2005. All rights reserved.

0.031