By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,326 Members | 838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,326 IT Pros & Developers. It's quick & easy.

Which Grid Control

P: n/a
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.
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi,

Here is a link to a sample I wrote that contains a multiline column.
http://www.onteorasoftware.com/downl...redcolumns.zip

Ken
---------------------
"Jason L James" <ja***@no-spam.dive-master.org> wrote in message
news:40*************@news.newnet.co.uk...
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.

Nov 20 '05 #2

P: n/a
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.

On Sun, 18 Jul 2004 06:30:16 -0400, "Ken Tucker [MVP]"
<vb***@bellsouth.net> wrote:
Hi,

Here is a link to a sample I wrote that contains a multiline column.
http://www.onteorasoftware.com/downl...redcolumns.zip

Ken
---------------------


Nov 20 '05 #3

P: n/a
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
---------------
"Jason L James" <ja***@no-spam.dive-master.org> wrote in message
news:40**************@news.newnet.co.uk...
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.

On Sun, 18 Jul 2004 06:30:16 -0400, "Ken Tucker [MVP]"
<vb***@bellsouth.net> wrote:
Hi,

Here is a link to a sample I wrote that contains a multiline column.
http://www.onteorasoftware.com/downl...redcolumns.zip

Ken
---------------------

Nov 20 '05 #4

P: n/a
Ken,

thanks for the info.

Jason.

On Sun, 18 Jul 2004 07:14:48 -0400, "Ken Tucker [MVP]"
<vb***@bellsouth.net> wrote:
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
---------------


Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.