Throughout our system we use the DataGrid. One problem
we've noticed is that the arrow buttons don't always work
with our grids, clicking on them sometimes won't move the
columns at all, or may move one or two into view, but not
all columns. Using the scroll bars works fine. We use a
ClmnsSettings class to set the order of the columns. The
user is able to hide certain columns and restore them to
their default widths. Any suggestions? We want the user to
be able to use the arrow buttons to view all the columns
that aren't hidden in the grid, rather than relying only
on the scroll bar.
m_oColSettings = New ClmnsSettings()
With m_oColSettings
.Add("CmpnyID", "", 0, 0)
.Add("RTNbr", "R&T Nbr", 0, 12)
.Add("A", "A", 0, 10)
.Add("B", "", 0, 11)
.Add("C", "C", 200, 1)
.Add("D", "D", 100, 6)
.Add("E", "E", 100, 3, "d")
.Add("F", "F", 100, 4, "d")
.Add("G", "G", 100, 5, "d")
.Add("H", "H", 100, 2)
.Add("I", "", 0, 13)
.Add("J", "J", 100, 9)
.Add("K", "K", 100, 8)
.Add("L", "L", 0, 14)
.Add("M", "", 0, 15)
.Add("N", "N", 100, 7)
End With
oColHdr.Init(m_ oColSettings, "Name", Me.Name,
grid.Name)
SetUpGrid(m_Rel ats, grid, m_oColSettings)
dtView = New DataView(m_Rela ts) 0 1352 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim H |
last post by:
I have a ListBox hold a list of my custom controls (it's UserControl based
control with a couple radio buttons and a checkbox). Everything works and
displays the way I expected it to. I can move through the list by dragging
the scroll bar and it works fine, but if I try to use the up/down scroll bar
buttons or page by clicking above or below...
|
by: bardo |
last post by:
I have a Datagrid that is inside a panel. I want to use the keyDown event to
reconize the arrow keys. But I have no luck at all. The problem is that the
keydown event won't fire at all, unless I click on a row (withs will turn
blue then) and then click on it again . Now if I press any key the event will
fire (except for the arrow keys).
I...
|
by: Craig Banks |
last post by:
If a row of data in a dataset has a lot of columns the row displaying the
data in a datagrid will run way off the screen. What I'd like to do is
display a row of data over several datagrid rows so the user doesn't have to
scroll horizontally. Essentially, I want to wrap a datagrid row (not text in
individual columns) with as much control as...
|
by: Tom |
last post by:
I have tried all the solutions I have found on the web, including the syncfusion solutions
I can get the combobox on the grid ok, but it does not behave like a regular combobox
Example
On a form, you can tab to a combobox, F4 to dropdown, up/down arrow to scroll, and Enter to select choice
On a datagrid I can get it so F4 opens the dropdown,...
|
by: Neil Wallace |
last post by:
Hi there,
I have an application in which a grid of 100 or more buttons are put on a
form in columns of 10.
All the buttons are within a panel.
They are added in runtime, and so they adopt a sensible tab value.
The tab key moves the focus down the column one by one, and the up and down
arrow keys work well.
| |
by: Rlrcstr |
last post by:
How can you detect when an arrow key gets pressed? Doesn't seem to trigger
a KeyPress or KeyDown event. Thanks.
Jerry
|
by: Phillip N Rounds |
last post by:
I have a DataGrid in a web form (ASP1.1, C#, VS 2003) that I'm trying to add
some functionality to, and I can't figure out how to do int.
The existing DataGrid has several databound columns and a Template Columns,
into which I put buttons. When the user clicks on the 'Do It' button, the
selection is recorded in an underlying database, and...
|
by: J-Rod |
last post by:
Hi all. I am using a datagrid and have removed the scrollbars. I
instead put arrow buttons to scroll up or down. The scrolling is way
to slow. When i click on the buttons, there is a significant delay
before the grid actually scrolls. Any suggestions? I am using VB
2005.
oh, and the datagrid is from a third party add-on
|
by: velocius |
last post by:
i use the current code to reselect a line of code in my datagrid
int currentRow = dgUsers.SelectedRows.Index;
dgUsers.Refresh();
dgUsers.Rows.Selected = true;
this reselects the line (it turns blue) but the arrow pointing to a row gets reset to row one. also, my datagrid has a scroll bar for up and down, and when i select the last row,...
|
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...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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...
|
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...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |