473,396 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Which Grid Control

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
4 1066
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Michael Howes | last post by:
I'm looking for a power grid control to use for some C#/Windows forms development. There are a LOT of grids out there and trying to analyzes them could turn into a long task. Some things I'm...
1
by: john menke | last post by:
I am new to .Net and have a requirements for a project that we zoom a grid control when it's clicked. This grid will contain a yellow pages like listing and be displayed on a form with other grids...
1
by: Tony Johansson | last post by:
Hello! I need a rather advanced control grid from somewhere. I know that I might have to buy the framework for this control grid. Have you any control grid that you can recomment to buy from...
9
by: Joe | last post by:
I have a DataGrid with a templated column that displays ImageButtons. I need to know if one of these buttons caused the postback or just another button on the form. If one of these buttons caused...
1
by: Tina | last post by:
In order to constrain the screen real-estate a datagrid takes, I use an HTML Grid Layout Control with scrollbars. One problem, however is that the datagrid changes horizontal size depending on...
6
by: Satyen Kasturi | last post by:
I want to use a plain grid control in VB.NET (Windows Forms) and yes I do not want to use Data Grid, because I want to populate the grid manully and have the user edit it. Does Microsoft has a...
1
by: Rob Richardson | last post by:
Greetings! I see from the group archives that a lot of people don't like how Snap to Grid works when placing controls on forms. I am now among that number. When I had the Windows Forms Designer...
2
by: Tom | last post by:
I need to display a series of controls (in my case, a custom control) in a grid-like fashion. This means this particular control would be repeated multiple times, arranged in a row/column format....
1
sujathaeeshan
by: sujathaeeshan | last post by:
Hi All, I am doing UI design(form design modifications) not programmatically. I am facing problem while appplying font to Data grid column . Here i am placing Data Grid within GroupBox. When...
1
sujathaeeshan
by: sujathaeeshan | last post by:
Hi All, I am doing UI design(form design modifications) not programmatically. I am facing problem while appplying font to Data grid column . Here i am placing Data Grid within GroupBox. When...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.