473,394 Members | 1,944 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,394 software developers and data experts.

Drag & Drop in datagrid.

Hi to all.
I m having project with VB6.0 as front End and Access-2003 as backend. In one of my code I m having Datagrid with ADODC as datasource. I want Drag & Drop Functionality in Datagrid as like in Excel so that I can paste value in to other rows just by drag & Drop.
Is it possible?

Thanks.
Nov 17 '07 #1
6 4190
Hi all,
Please pass comments that is it possible or not? if posible give me hint or some sample code.

thanx.
Neelesh
Nov 24 '07 #2
My problem is still unsolved. Can anybody guide me?
Thanks
Neelesh
Jan 9 '08 #3
Killer42
8,435 Expert 8TB
My problem is still unsolved. Can anybody guide me?
Wow, impatient aren't you! ;)

Seriously, sorry you don't seem to have had a response to this in nearly two months.

Can you provide a bit more detail on exactly how you want the drag and drop to work, from the user's point of view?

For instance, are we talking about dragging a single cell, or what? And when you mention Excel, are you talking about dropping things from elsewhere onto Excel, or grabbing the corner of a cell and dragging it to fill a range? Or something else entirely?
Jan 9 '08 #4
Actually I want to grab the value of a Particular Cell in Datagrid and Fill this value in succeeding cells of Datagrid in Particular column by Dragging these Cells.
e.g. suppose in column 5 of my datagrid 8th Row contains Value Baroda, I want to grab these value "Baroda" and I want to Fill This value in Succeeding Rows in Same column by Dragging mouse over the Rows.
I hope you get me.
Thanks
Neelesh
Jan 10 '08 #5
My Question is still unanswered.

Neelesh
Feb 5 '08 #6
Killer42
8,435 Expert 8TB
Since nobody else seems to be showing any interest, for some reason...

I've been having a quick browse of the events for the DataGrid control, and it doesn't look very promising. It seems to be designed mainly to work with an individual "current" record, while you really want to drag from record to record. In other words, you want to treat it as a "real" grid, similar to a spreadsheet, while MS didn't really design it that way.

Perhaps you will need to do something like tracking events such as MouseDown and ColRowChange (or SelChange), and copying values to/from the grid at appropriate times.
Feb 6 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Clyde | last post by:
I am trying to implement the user feedback provided by Windows Explorer when draggng a filename from one place to another. I have the drag and drop action worked out but have had no luck in...
3
by: Ajay Krishnan Thampi | last post by:
I have a slight problem implementing 'drag and drop' from a datagrid to a tree-view. I have pasted my code below. Someone please advice me on what to do...pretty blur right now. ==code== ...
2
by: Grey | last post by:
I need to design a workflow application with C#. I want to design an UI with some workflow components which they can be drag & drop anywhere in order to design the workflow for the application...
2
by: Ken Loomis | last post by:
Hello: I have spent two days on drag and drop now and I'm getting no where. I am trying to drag an item from a listbox and load it into a datagrid (actually a child of the datagrid, but I'll be...
3
by: Demetri | last post by:
If one were to develop a web server control (web control library), which enhances the datagrid by implementing a class that inherits from the DataGrid class, and give it drag and drop capability. ...
6
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
4
akashazad
by: akashazad | last post by:
Dear Friends In my Project I want to Drag the text of the Text Box into any Particular cell of the DataGrid which ever user wants to, but my problem is I am not able to find the...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...

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.