473,396 Members | 1,743 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 event can help me trap when datagridview column size changes?

I would like to trap an event, when someone changes the column width on
a datagridview. I tried all the (almost) event with width in it and
none of them are firing when I change the column width. Could some one
help me on this?
Thanks.

Nov 25 '06 #1
1 3535
Hello,

An event handler for ColumnWidthChanged works for me. Have you tried
that?

--
Cheers,
Gary
http://www.garyshort.org/

DBC User wrote:
I would like to trap an event, when someone changes the column width on
a datagridview. I tried all the (almost) event with width in it and
none of them are firing when I change the column width. Could some one
help me on this?
Thanks.
Nov 25 '06 #2

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

Similar topics

7
by: Girish | last post by:
OK.. phew. Playing with data grids for the past few days has been fun and a huge learning experience.. My problem. I have a requirement to display a gird with a gird. Within the embedded grid,...
4
by: JonathanG | last post by:
All, Thanks in advance for any help. I am attempting to write a property that is an array of strings. I am trying to trap the event when one of the strings in the array changes. When I step...
1
by: Luceafaru | last post by:
Hello, How can I trap the OnTextChanged event of a textbox hosted by a DataGridView? What I actually want is, while the user is in the first column, in editing mode, once the entered...
1
by: Luceafaru | last post by:
Hello, How can I trap the OnTextChanged event of a textbox hosted by a DataGridView? What I actually want is, while the user is in the first column, in editing mode, once the entered...
0
by: Andy | last post by:
Probably this quesion was already raised, but I couldn't find any answer to it, even on Google. My question is: I have a plain datagrid on a page, and I'm adding a button column to it. When...
1
by: sklett | last post by:
I've got a strange situation here. I have a databound DataGridView that also has un-bound columns. When the view loads, I want to update the values of the unbound columns. If I attempt to modify...
1
by: Tom | last post by:
First, I posted a similar request for help in another group and now don't find the posting. Problem with my newsreader perhaps ... but apologies if this appears as a cross posting. My code is...
4
by: =?Utf-8?B?S2ltIFM=?= | last post by:
I have a Datagridview with a Price column ( in test string) how to get a messagebox then the price is negative. I know how to make a messagebox it's the event type in datagridview i don't know. ...
7
Plater
by: Plater | last post by:
I am having trouble determining when my DataGridView object is sorting (based on a column header click). The idea is, in a large table, sorting the columns takes time, so I show a splash screen....
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
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
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
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
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.