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

DataGridView VB.NET Lat Column Resize

I have a datagridview on a windows form, AllowUserToResizeColumns is
set to false, it has 3 columns, as you'd expect i cant resize the
columns, but i CAN resize the last column?

I have column headers visible set to true, and i can drag the far end
of the final column back n forwards.

If i set column headers visible to false, then i have the ability to
drag from the area where the rows are!

Any idea why this is happening? I set AllowUserToResizeColumns to
false cause i dont want my users to resize the columns as the name
suggests, so why allow them to resize the last column??

Cheers
Jul 4 '08 #1
0 1406

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

Similar topics

2
by: lord.zoltar | last post by:
I have a DataGridView that has potentially several hundred rows (possibly a thousand or two). I'd like for each row to have the proper height to accomadate the text in the row. I tried setting the...
7
by: Ryan | last post by:
I have a DataGridView which displays numeric (Int32) data from an underlying database. I want the numbers to be displayed in numeric format "#,###" (with commas). I want to also limit the user so...
2
by: Andrus | last post by:
VSE 2005 .NET 2 WinForms I have DataGridView in virtual mode containing huge number of rows. When user double clicks in column separator line in grid header, application hangs: grid tries to...
0
by: phpfreak2007 | last post by:
Hello all, I am using a Datagridview control. and set its Dock Property to Fill..It resize according to the Container panel. but the Column does not.. If anyone knows how to...
4
by: vbDavidC | last post by:
I have an unbound grid that is on my form (not created programmatically). I stretched the size to what I think is wide enough to accomodate the 6 columns I will be creating. I plan on making the...
0
by: NvrBst | last post by:
By default I have it set to "DataGridView.AutoResizeColumns(DisplayedCells);" I let the user change to "DataGridView.AutoSizecolumnsMode = Fill;" at runtime with a button. When I do that it...
3
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post by:
I am wondering what is considered a best practice for setting column widths to fit the data for a DataGridView (.Net 2.0) that was created on-the-fly from an arbitrary query. What I would probably...
1
by: =?Utf-8?B?S0NCVERldg==?= | last post by:
I and another developer have created an app that uses a datagridview to display market information. The datagridview is fed with messages from another app on a server that feeds the messages...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...

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.