Which Grid Control

  • Thread starter Thread starter Jason L James
  • Start date Start date
J

Jason L James

Hi all,

I have an app that needs to display
a reasonable amount of text in a grid.
The one that ships with VS.Net will only
display this text on a single line, and
not word-wrapped over several lines,
like you can do in Excel.

I know that there are several 3rd party
controls that support this feature.

Can I achieve a wrapping feature in
the standard grid? If so, can anyone
point me in the right direction for some
code snippets. If not, which of the
available 3rd party contols is considered
the best overall, and yet contains the
feature I am after?

Many thanks for you input.

Jason.
 
Ken,

thanks for the heads up. The code solves the problems that
I was having in getting a multiline text box. However,
I have one more question about your code. Do you have
any suggestions as to how I can get each row to resize
to the requirements of the current row, as opposed to all
rows being the same size, and sized to accomodate the
row with the largest amount of text?

Thanks,

Jason.
 
Hi,

My orginal version had that. The problem was that when ever you
added a new row all the rows went back to the default height. Unfortunately
it would not let me resize them again.

Ken
---------------
 
Back
Top