PC Review


Reply
Thread Tools Rate Thread

Turning off Text Wrapping in a DataGrid column

 
 
Rob Simmons
Guest
Posts: n/a
 
      31st Oct 2007
Hello all,

I have a problem where "long" text is being wrapped in a data grid column.
The data typically contains codes such as "AB-XXXXXXXXXXXX" where the X's
are an important part of the code, however, the text is wrapped at the
hyphen so the user only sees "AB-". Increasing the width of the column
shows the entire text (obviously) but loses the info in the other columns
off screen, which is less desireable. The user is fine seeing half of the
X'd portion as that's enough for what they need, but changing the codes is
not possible.

Is there a way to have the text just cut off instead of wrap? I haven't
found anything on MSDN or online.

FYI, I'm using .Net CF 2.0 SP 1

Thanks,
Rob.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wrapping text in datagrid ireallyneedtoknow2007@yahoo.com Microsoft ASP .NET 1 12th Nov 2007 08:27 PM
wrapping text in datagrid ireallyneedtoknow2007@yahoo.com Microsoft C# .NET 1 12th Nov 2007 08:27 PM
Wrapping Text in Column of Windows DataGrid Control =?Utf-8?B?R2FuZXNoIE5heWFr?= Microsoft Dot NET Framework Forms 1 5th Feb 2004 09:29 PM
Re: turning off text wrapping Chris Lanier Windows XP General 2 5th Sep 2003 01:29 AM
RE: Datagrid Row/Column Wrapping Luke Zhang [MSFT] Microsoft Dot NET 0 21st Jul 2003 10:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:05 PM.