wrap text in datagrid

  • Thread starter Thread starter kalyan kamesh
  • Start date Start date
K

kalyan kamesh

Hi All,

I'am a newbie in .net programming.My requirement is in vb.net on
formload i'am filling my datagrid with the columns from table.but i
wan't the values to be wrapped on loading so that i need not drag the
columns in the grid to see the value.please help.
 
If I understand you correctly, you want the data from the table to word
wrap when the cell is populated? To do this, you will need to subclass
the DataGridTextBoxColumn and override the OnPaint handler.

See the following link:
http://www.windowsforms.net/Forums/ShowPost.aspx?tabIndex=1&tabId=41&PostID=2922

kalyan kamesh submitted this idea :
Hi All,

I'am a newbie in .net programming.My requirement is in vb.net on
formload i'am filling my datagrid with the columns from table.but i
wan't the values to be wrapped on loading so that i need not drag the
columns in the grid to see the value.please help.

--
--------------------------------------------------
Christopher C. Bernholt
I.T. Research & Development
..NET Re-Engineering Team
R & L Carriers, Inc.
http://www.gorlc.com
--------------------------------------------------
 
Hi Christopher

thanks for u r early reply.If u have time please get me this in vb.net.


Regards
Kalyan
 
Back
Top