473,396 Members | 1,872 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.

Last column in grid will not resize past grid edge

I have a data grid in my C# Windows Form. All but the last column can
be resized during program execution. If the resized column reaches the

right edge of the grid control I can scroll horizontally and then
continue resizing the desired column.

The last column can be resized but only until the right edge of the
column reaches the right edge of the grid control. A work around would

be to add an empty column but I would like to know if there is a better

solution so this last column can be resized more.
TIA
Larry Huisingh

Dec 6 '06 #1
0 1137

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Gord | last post by:
Hello, Anybody know how to detect when a user drags between columns in a MSHFlexGrid when resizing column width? (Short of setting up a timer event that continuously monitors column width.)...
3
by: bismarkjoe | last post by:
Hello, I am trying to set the widths on the columns of a DataGrid component, and I'm not sure if I'm doing it correctly. My code is below: //load some inital data table = db.GetDataTable(...
5
by: Jeremy | last post by:
I have googled for this issue, and many other people have the same problem with no resolution. The data grid column sizes automatically resize based on their contents no matter what the...
3
by: Jeremy | last post by:
I have googled for this issue, and many other people have the same problem with no resolution. The data grid column sizes automatically resize based on their contents no matter what the...
3
by: Brian Mitchell | last post by:
I hate to ask this question because I'm sure it's been asked before, but how do you automatically resize the columns in a datagrid when the form is resized? Thanks!!
6
by: Agnes | last post by:
I understand it is impossible, but still curious to know "Can I freeze several column in the datagrid, the user can only scroll the first 3 columns (not verical), for the rest of the coulumn, it is...
0
by: Lucvdv | last post by:
Maybe a stupid question, but how can you widen the last column of a datagrid at runtime (i.e. with the mouse)? It won't let me. The grid is wider than the form it is on, maybe the presence of a...
0
by: lhuisingh | last post by:
I have a data grid in my C# Windows Form. All but the last column can be resized during program execution. If the resized column reaches the right edge of the grid control I can scroll...
1
by: aliviu | last post by:
I have a DataGridView populated from a DataSource with the code: Dim dt As New DataTable dt.Columns.Add("Name") dt.Columns.Add("Result") Dim dr As DataRow ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.