|
by: Igor Mendizabal |
last post by:
Hello,
We're doing our own datagrid based on the System.windows.forms.datagrid
control, and are having some problems with horizontal scrolling.
In general, we construct our datagrid adding a tablestyle and
gridcolumnstyles to that tablestyle. If we have invisible columns, we add
the gridcolumnstyle with Width = 0 (couldn't find any other way to do it,
because there is no Visible property available...).
|
by: Hans [DiaGraphIT] |
last post by:
how can I keep track of the first visble line in my datagrid when I drag the
vertical scrollbar up or down?
To clairfy my need...
An example:
I wish to set CurrentRowIndex to be the first visible row in my datagrid
while I drag the vertical scrollbar.
Should I combine an MouseDown event with a scroll event?
|
by: makthar |
last post by:
You can use a panel control and put the datagrid in it.
Then set the asp:panel...style="overflow:auto".....
There is a real nice short article on it somewhere I don't
remember. Do a search with "scrolling Datagrid or datalist
control"
>-----Original Message-----
>How to set up a vertical scroll bar for my datagrid
control?
>
>
|
by: Wayne J |
last post by:
I am using a DIV to simulate a scrolling DataGrid, however when I try to get
the width (Div1.Styles.Items("Width")) I get nothing.
Now I realise at the point the code is run, the DIV is not even in existence
other than just a variable name, but is there a way to get the width so I
can size the DG to just inside the horizontal boundary of the DIV?
|
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 possible. Make sense?
While this seems simple enough on the surface, I can't figure out how to do...
|
|
by: John Bayly via .NET 247 |
last post by:
I'm working on an inherited Datagrid class that includes afunction called onMouseMove to paint the row under the cursor tomake reading easier for users.
To paint the row, the function sets the current cell to by:
'Get Screen Coorinate of Mouse Cursor
Dim p As Point = New Point(dgrid.Parent.MousePosition.X,dgrid.Parent.MousePosition.Y)
'Convert Screen Coordinates to Local Coordinates
Dim pC As Point = dgrid.PointToClient(p)
'Runs Hit...
|
by: Wasco |
last post by:
Hi All,
somebody knows how can I implement a scrollable datagrid?
I made one used DIV tag and the tricks of a datagrid for title and
another for contents but I'm not satisfied.
Thanks!!
|
by: Brian Tkatch |
last post by:
I have a form with two DataGrids, which are kept in sync manually via
Stored PROCEDURE calls. That is, when a record is selected on the first
grid, a stored PROCEDURE is CALLed to Fill() the next second DataGrid's
DataSource. All that works very well. And, when there are no records to
display, it is simply left blank.
My issue is that when i scroll the first one, sometimes the second grid
shows a bunch of null values (a "new" record).
...
|
by: asharda |
last post by:
I am coding a windows mobile application and I want to make the
selected row as the 1st row in the datagrid, so that it is always
visible, since in th eprogram when the row is clicked a small panel
comes up in the bottom showing data about that row.
Thanks,
Ashoo
|
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...
|
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,...
|
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|