473,748 Members | 9,416 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resize last column of datagrid

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 scrollbar
has an influence. With the scrollbar completely scrolled to the right, the
last column ends at the right hand end of the grid. Trying to resize it,
it won't let me move the mouse pointer to the right.

Nov 21 '05 #1
0 1245

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

Similar topics

2
3543
by: Yama | last post by:
Hi, How can I make it resizable? For example: <pre> <!-- datagrid Header --> <table class="TableHeader" id="tblHeader" border="1" runat="server">
1
2431
by: Jorge | last post by:
Hello All I am trying to preserve the width of column in a datagrid made by the user. On form load i use this <code> Me.DataGrid2.TableStyles("artenc").GridColumnStyles (0).Width = 30 Me.DataGrid2.TableStyles("artenc").GridColumnStyles (1).Width = 30
0
1921
by: Asgorath | last post by:
Hello All I am trying to preserve the width of column in a datagrid on form load i use this <code> Me.DataGrid2.TableStyles("artenc").GridColumnStyles(0).Width = 30 Me.DataGrid2.TableStyles("artenc").GridColumnStyles(1).Width = 30 Me.DataGrid2.TableStyles("artenc").GridColumnStyles(2).Width = 30 </code> After i update the datagrid dataset i manualy rezised the 3 columns
1
2928
by: Geroge D. Lake | last post by:
Hi, I need to disable the resizing of a datagrid. I have tried al day and no luck. Any Ideas? Thanks. George.
1
1857
by: garyusenet | last post by:
I'm following a sql/vb tutorial which contains the following code which is meant to resize the datagrid view so that the columns take the correct width for the content within them. It doesn't work the syntax seems to be nonsense according to VS2005 so can someone suggest what I need to replace it with? Thanks...
0
1377
by: Dragon | last post by:
Hi, I am creating a simple web application that displays records from an Access table. I am using DataGrid to display the records. I have been able to resize column size to match with what I need in view mode. Now when I am in 'Edit' mode (created automatically), I need to resize one of the columns so that I can enter a lot of text without having to scroll. Also, is there a way to change the row height as well in the edit mode so that...
0
946
by: sheri | last post by:
how can I resize only one column in datagrid in .net 2005 ?
0
1339
by: ashinamdev | last post by:
Hi I have a probelm I am using the datagrid control in my asp.net web page. I want to resize the datagrid column at runtime. User can be able to resize the column width according to his requirment at run time. Pls solve this problem. Ashish
0
1431
by: theamesy | last post by:
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!
0
8984
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8823
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9238
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8237
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4593
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.