Drag from tree to Drop on button
Hi Expert,
I want to drag data from a tree and drop it to button.Pls suggest how we do that.
Please do help.
Thanks and Regards.
Swatantra Pathak
Hi
Have you checked these programs:
BCALV_GRID_DND_TREE ALV Grid: Drag and Drop with ALV Tree
BCALV_GRID_DND_TREE_SIMPLE ALV GRID: Drag and drop with ALV tree (simple)
Regards
Neha
Similar Messages
-
Drag from tree to Drop on picture Container
Hi Expert,
I want to drag nodes of tree and want drop it to in picture container.
I have already seen helping program on se80 and se38. But problem still not solve.
Please help me to solve this problem.
Thanks and Regards.
Swatantra Pathakhi
Check Tx DWDM. you can find some examples
Regards
Gregory -
I found a workaround but I am opening a new discussion for my specific issue as noted in my subject. Search "iTunes 12 sidebar missing".
Per denali_uk on Oct 21, 2014 12:29 AM:
"Actually this feature is still available but it's not very obvious. If you grab a bunch of tunes from one of the Music lists and drag them to the left, a temporary sidebar appears with your attached devices and playlists. You can drag the songs into an existing playlist, or to an empty space where it will create a new one. The sidebar will then disappear, and you'll have to click on one of the Playlist tabs if you want to edit anything. Awful design".
I apologize to those readers who use this site "correctly" but I did not know how else to accomplish this.Argh... Found that I cannot drag new playlists to the device icon that appears on the taskbar of itunes. If I display the playlists in itunes I can select 1 then scroll up to the my ipod where it appears further up the list and then drop the item into the ipod. This appears to be a great step forward for Itunes but you must drag and scroll the list to find your device one at a time as selecting items with the shift or ctrl buttons pressed has no effect.
Itunes at version 12+ you would think it would be easier not harder to load content. -
Hi,
I have building a program that will have one split screen and one of them has cl_column_tree_mode at top, and the other has cl_gui_alv_grid at bottom.
I can Drag And Drop Lines From ALV GRID to TREE and i can use ONDRAG event of ALVGRID, DROP event of TREE Control and ONDROPCOMPLETE event of ALVGRID.
But when i try to reverse it as like that Drag From TREE to ALVGRID, just DRAG event of TREE is triggering.
I have implemented end registered ONDROP event for ALVGRID but it is no triggering.
Have i something which missed ? Some of code at the above.
*****************CODE****************************************
*I created Application Ocject, Custom Container and Spliiter in here
** Definition of drag drop behaviour
create object behaviour_top.
call method behaviour_top->add
exporting
flavor = 'LINEFROM' "I dont know where i can use this
dragsrc = 'X'
droptarget = 'X'
effect = cl_dragdrop=>move.
call method behaviour_top->add
exporting
flavor = 'LINETO' "I dont know where i can use this
dragsrc = 'X'
droptarget = 'X'
effect = cl_dragdrop=>move.
call method behaviour_top->get_handle
importing handle = handle_top. "I am not sure that i can use this handle for both TREE Nodes and ALV Rows, But i am using it for both.
****************************** TREE ********************************
* CREATE TREE
ls_treemhhdr-heading = 'Nakliye ve Makaralar'.
ls_treemhhdr-width = 35.
create object gref_column_tree
exporting
node_selection_mode = cl_column_tree_model=>node_sel_mode_single
item_selection = space
hierarchy_column_name = 'NUMBER'
hierarchy_header = ls_treemhhdr.
call method gref_column_tree->create_tree_control
exporting
parent = container_1 .
* Events for tree control
set handler g_application->handle_tree_drag for gref_column_tree.
set handler g_application->handle_tree_drop for gref_column_tree.
* Build TREE
perform build_tree using gref_column_tree. "I use HANDLE_TOP in this when creating nodes.
****************************** TREE ********************************
**************************** ALV GRID ********************************
* create ALV Grid
create object alv_grid
exporting i_parent = container_2.
* Events alv control
set handler g_application->handle_alv_drag for alv_grid.
set handler g_application->handle_alv_drop for alv_grid.
set handler g_application->handle_alv_drop_complete for alv_grid.
gs_layout-grid_title = 'İs Listesi'.
gs_layout-s_dragdrop-row_ddid = handle_top. "I think this is a important thing
call method alv_grid->set_table_for_first_display
exporting is_layout = gs_layout
changing it_fieldcatalog = gt_fieldcat
it_outtab = i_tabout[].
**************************** ALV GRID ********************************
*I have implemented all methods for this class, it hink its not important to see *which code its has, important is why its not triggering.
class lcl_application definition.
public section.
data: next_node_key type i.
methods:
* ALV EVENTS
handle_alv_drag for event ondrag of cl_gui_alv_grid
importing e_row e_column e_dragdropobj,
handle_alv_drop for event ondrop of cl_gui_alv_grid
importing e_row e_column es_row_no e_dragdropobj,
handle_alv_drop_complete for event ondropcomplete of cl_gui_alv_grid
importing e_row e_column e_dragdropobj,
* TREE EVENTS
handle_tree_drag for event drag of cl_column_tree_model
importing node_key item_name drag_drop_object,
handle_tree_drop for event drop of cl_column_tree_model
importing node_key drag_drop_object,
handle_tree_drop_complete for event drop_complete of cl_column_tree_model
importing node_key ITEM_NAME drag_drop_object.
endclass.Thanks kaipha,
in examples in SE83 i have noticed that i have to create an inctance for drag drop object when drag starts.
method handle_tree_drag.
data: "local_node_table type node_table_type,
new_node type mtreesnode,
dataobj type ref to lcl_dragdropobj_from_tree,
l_keytxt(30) type c.
catch system-exceptions move_cast_error = 1.
* create and fill dataobject for events ONDROP and ONDROPCOMPLETE
create object dataobj. "When i create dataobj in here
move node_key to dataobj->node_key.
drag_drop_object->object = dataobj. "And when i call this method, ALV Drop event has begin triggered
endcatch.
if sy-subrc <> 0.
call method drag_drop_object->abort.
endif.
endmethod. -
Hi,
I have building a program that will have one split screen and one of them has cl_column_tree_mode at top, and the other has cl_gui_alv_grid at bottom.
I can Drag And Drop Lines From ALV GRID to TREE and i can use ONDRAG event of ALVGRID, DROP event of TREE Control and ONDROPCOMPLETE event of ALVGRID.
But when i try to reverse it as like that Drag From TREE to ALVGRID, just DRAG event of TREE is triggering.
I have implemented end registered ONDROP event for ALVGRID but it is no triggering.
Have i something which missed ? Some of code at the above.
*****************CODE****************************************
*I created Application Ocject, Custom Container and Spliiter in here
** Definition of drag drop behaviour
create object behaviour_top.
call method behaviour_top->add
exporting
flavor = 'LINEFROM' "I dont know where i can use this
dragsrc = 'X'
droptarget = 'X'
effect = cl_dragdrop=>move.
call method behaviour_top->add
exporting
flavor = 'LINETO' "I dont know where i can use this
dragsrc = 'X'
droptarget = 'X'
effect = cl_dragdrop=>move.
call method behaviour_top->get_handle
importing handle = handle_top. "I am not sure that i can use this handle for both TREE Nodes and ALV Rows, But i am using it for both.
****************************** TREE ********************************
* CREATE TREE
ls_treemhhdr-heading = 'Nakliye ve Makaralar'.
ls_treemhhdr-width = 35.
create object gref_column_tree
exporting
node_selection_mode = cl_column_tree_model=>node_sel_mode_single
item_selection = space
hierarchy_column_name = 'NUMBER'
hierarchy_header = ls_treemhhdr.
call method gref_column_tree->create_tree_control
exporting
parent = container_1 .
* Events for tree control
set handler g_application->handle_tree_drag for gref_column_tree.
set handler g_application->handle_tree_drop for gref_column_tree.
* Build TREE
perform build_tree using gref_column_tree. "I use HANDLE_TOP in this when creating nodes.
****************************** TREE ********************************
**************************** ALV GRID ********************************
* create ALV Grid
create object alv_grid
exporting i_parent = container_2.
* Events alv control
set handler g_application->handle_alv_drag for alv_grid.
set handler g_application->handle_alv_drop for alv_grid.
set handler g_application->handle_alv_drop_complete for alv_grid.
gs_layout-grid_title = 'İs Listesi'.
gs_layout-s_dragdrop-row_ddid = handle_top. "I think this is a important thing
call method alv_grid->set_table_for_first_display
exporting is_layout = gs_layout
changing it_fieldcatalog = gt_fieldcat
it_outtab = i_tabout[].
**************************** ALV GRID ********************************
*I have implemented all methods for this class, it hink its not important to see *which code its has, important is why its not triggering.
class lcl_application definition.
public section.
data: next_node_key type i.
methods:
* ALV EVENTS
handle_alv_drag for event ondrag of cl_gui_alv_grid
importing e_row e_column e_dragdropobj,
handle_alv_drop for event ondrop of cl_gui_alv_grid
importing e_row e_column es_row_no e_dragdropobj,
handle_alv_drop_complete for event ondropcomplete of cl_gui_alv_grid
importing e_row e_column e_dragdropobj,
* TREE EVENTS
handle_tree_drag for event drag of cl_column_tree_model
importing node_key item_name drag_drop_object,
handle_tree_drop for event drop of cl_column_tree_model
importing node_key drag_drop_object,
handle_tree_drop_complete for event drop_complete of cl_column_tree_model
importing node_key ITEM_NAME drag_drop_object.
endclass.Thanks kaipha,
in examples in SE83 i have noticed that i have to create an inctance for drag drop object when drag starts.
method handle_tree_drag.
data: "local_node_table type node_table_type,
new_node type mtreesnode,
dataobj type ref to lcl_dragdropobj_from_tree,
l_keytxt(30) type c.
catch system-exceptions move_cast_error = 1.
* create and fill dataobject for events ONDROP and ONDROPCOMPLETE
create object dataobj. "When i create dataobj in here
move node_key to dataobj->node_key.
drag_drop_object->object = dataobj. "And when i call this method, ALV Drop event has begin triggered
endcatch.
if sy-subrc <> 0.
call method drag_drop_object->abort.
endif.
endmethod. -
Manual Drag and Drop from Tree to Tree with XML dataProvider
Been struggling with Drag-n-Drop between Tree controls. As far as I can tell, it doesn't work very well.
I have boiled it down to a minimal project below and would be ever so grateful if someone can tell me what I am doing wrong.
The complete MXML application file is below. Flex 3.5.
Two trees side-by-side. One has XML that I want to drag over to the drop tree.
On the DragOver() event, I select the node which is given to me by the calculateDropIndex() function.
After startup; first open the L1 branch on the left and drag L11 over and drop it on the right Tree.
Looks good, root node is selected/highlighted and dropFeedback is correct and dropping the node drops it as a child of "Start Here".
Open the Start Here root node to see it.
Now proceded to #1 below.
Here are the problems:
1) Drag "L12" from the left tree over to the middle of the right tree (below "L11" just dropped). "L11" will not be selected. The Selected node (with dropIndex=4) will be the entire new nested XML "<L><L11/></L>"; and therefore only "Start Here" node will be highlighted. Drop "L12" anyway. So, it is acting like selectedIndex = <anynumber> will only select the root node. How do I get the new L11 to show as a drop target?
2) Now drag "L21" from the left tree onto the right tree; again starting below all nodes on the right tree. Selected node will not change until you drag it above #2 out of 3. Then, you can drag it anywhere, and correctly highlight/select any node as the target, and get that node in code. This is a problem. Go ahead and drop it anywhere. Now if you drag, for example, L22 from the left it will correctly highlight/select any node without having to first drag above #2 in the list.
3) Now, grab and drag L11 a second time and drop it at the bottom on the right. Drag L23 over. No matter which L11 you hover over, it highlights the one at the bottom. How can this be right?
Those are the bugs I would like to figure out. If I am doing it wrong, I sure would like to know what I am doing wrong. The code below is distilled down to one simple mxml application module.
Thanks,
Jeff
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" minWidth="955" minHeight="600">
<mx:Script>
<![CDATA[
import mx.collections.XMLListCollection;
import mx.core.IUIComponent;
import mx.events.DragEvent;
import mx.managers.DragManager;
Bindable]
private var dragXML:XML =
<Tree label="root"><L1 label="L1">
<L11 label="L11"/>
<L12 label="L12"/>
</L1>
<L2 label="L2">
<L21 label="L21"/>
<L22 label="L22"/>
<L23 label="L23"/>
</L2>
</Tree> ;
Bindable]
private var dragXMLListCollection:XMLListCollection = new XMLListCollection(dragXML.*);
Bindable]
private var dropXML:XML =
<Tree label="root"><L label="Start Here"/>
</Tree> ;
Bindable]
private var dropXMLListCollection:XMLListCollection = new XMLListCollection(dropXML.*);
// ************* Drag Drop Events ********************
private function dragEnter(evt:DragEvent):void
if (evt.dragSource.hasFormat("treeItems")) DragManager.acceptDragDrop(IUIComponent(evt.target));}
private function dragOver(evt:DragEvent):void
// Calculate dropindex and set selected item
var dropIndex:int = dropTree.calculateDropIndex(evt);dropTree.selectedIndex = dropIndex;
// setting the selected item based on calculateDropIndex()
var selNode:XML = dropTree.selectedItem as XML; // Getting XML for selected node in Tree
var selNodeName:String = (selNode != null ? selNode.localName() : "");
// Get dragged XML
var dragNode:XML = XML(evt.dragSource.dataForFormat("treeItems")[0]);
var dragNodeName:String = dragNode.localName();
trace(evt, "\n", dropIndex, "\n", (selNode ? selNode.toXMLString() : "null"), "\n", dragNode.toXMLString());
// you cannot drop a shorter name on a longer name
if ((dragNodeName.length >= selNodeName.length) && (selNode != null)) DragManager.showFeedback(DragManager.COPY);
else DragManager.showFeedback(DragManager.NONE);}
private function dragDrop(evt:DragEvent):void
// get selected node in drop tree
var selNode:XML = dropTree.selectedItem as XML; //selected in dragOver() event
// Get dragged XML
var dragNode:XML = XML(evt.dragSource.dataForFormat("treeItems")[0]);
// Drop logic
// Compare dragNode.localName().length to dropNode.localName().length
// if drag longer; drop as child
// if drag is equal; drop as sibling
// Drag can never be shorter in this example.
var isChild:Boolean = String(dragNode.localName()).length > String(selNode.localName()).length;
if (isChild){
selNode.insertChildAfter(
null, dragNode);}
else
selNode.parent().insertChildAfter(selNode, dragNode);
]]>
</mx:Script>
<mx:Tree id="dragTree" width="30%" showRoot="true" height="100%" labelField="@label"dataProvider="
{dragXMLListCollection}"dragEnabled="
true" dragMoveEnabled="false" dropEnabled="false" />
<mx:Tree id="dropTree" width="30%" showRoot="true" height="100%" labelField="@label"dataProvider="
{dropXMLListCollection}"dragEnter="dragEnter(event);" dragDrop="dragDrop(event);" dragOver="dragOver(event);"
/>
</mx:Application>I just found out that by setting the dataProvider for each tree to the XML variable instead of the XMLListCollection variable, problems #1 and #2 went away!
But the documentation says to use an XMLListCollection if you will be dynamically changing the tree contents.
And, I just found out that #1 returns if I specify showRoot="false". But with it set to "true" that problem goes away. Is there some sort of minimum XML required to make drag-n-drop work on these Tree controls?
Hmmmm. It appears that (for #3) the calculateDropIndex() will always return the last matching XML node - by name - in the tree. -
How to insert a row in Tree table which is dragged from the table?
Hi All,
I am having a Tree table and a Table in the same page, like below
Treetable Table
Item1 Subitem12
Subitem1 Subitem13
Subitem2 Subitem14
Subitem3 Subitem15
Subitem4 Subitem16
Item2 Subitem17
Subitem5 Subitem18
Subitem6 Subitem19
Subitem7 Subitem20
Subitem8 Subitem21
Item3
Subitem9
Subitem10
Subitem11
The requirement is i need to "drag" a row from the Table and place it under any parent node in the Tree table.
What i have done is I make the Tree table as ".ui-sortable" and table as a "draggable".
I am not able to find the position of the dragged item when i dropped it in the Treetable.
Please provide me a solution.
Regards,
AravindhHello:
Do you mean setting the selectedRowKeys in the setter method of the treeTable in the Request Scoped Managed Bean?
If that is what you mean, I tried that and there was no change in behavior. (Still does not highlight the correct row in the tree table upon execution of the next method for the bindings) Does anyone have any sample code they can provide that works?
Thanks for the help. -
Mouse pointer drops clips while dragging from canvas to timeline
Hi, I hope some of you guys had the same and know how to solve it.
I'm have a problem with my mouse pointer dropping the clips in the timeline before I release the right button on my mouse.
I select a clip that I want to drag from canvas to timeline, I right click and drag it to timeline and FC only give me like 2 seconds to line up the clip on the timeline and then FC drops the clip into the timeline by itself. I don't even release the right button on my mouse. It seems like this is some kind of setting in FC.
The same thing happens when I try to drag the clips around the timeline, the pointer grabs the clip, but I can move the mouse all over the timeline and nothing happens.
And the last but also very frustrating part is when I try to scroll with the play head in the canvas, the mouse pointer grabs the playhead and holds it only for 2 seconds, then it drops it and I have to go and look for the playhead again and drag again.
An help and advice is appreciated.
ThanksSure, I think you're are right.
I will lean them with time, it was just frustrating when all of a sudden nothing works. My compressor went nuts at the same time.
When I try to submit the compressor would say that "can't submit batch unable to connect to background process"
So, I didn't finish anything I was doing today. I went to exported using QT but the clip came out to me somewhat very shaky, in the moments when camera is zooming in it shows on the screen as it I'm zooming for 2 second and then stopping and then zooming again, it's not a smooth footage. Kind of making me think that my grafics card isn't good enough. I got to research this issue now. Oh. -
Drop down buttons from a JToolBar
I've been looking at various postings on how to get drop down options from a JToolBar. What I have seen suggests using JPopupMenu.
However for my requirements I simply want the drop down buttons to appear in a gridlayout rather than as a drop down menu. Just the icons with no labels.
Is it possible to change the layout manager up JPopupMenu or should I be trying some other component?
The code I am trying looks something like that below where I demonstrate a toolbar dropdown color picker. The change of the layout manager seems to have no effect.
final JButton standardColorButton = _toolBar.add(_actionStandardColor);
final JButton changeColorButton = new JButton(_actionChangeStandardColor);
_toolBar.add(changeColorButton);
changeColorButton.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
int height = standardColorButton.getPreferredSize().height;
JPopupMenu popup = new JPopupMenu("test");
popup.add(_actionRed);
popup.add(_actionGreen);
popup.add(_actionBlue);
popup.add(_actionBlack);
popup.show(associationButton, 0, height);
popup.setLayout(new GridLayout(0,2));Hi Vijay,
Is this correct?
var oInput = new sap.ui.commons.DropdownBox("ddlb_matnr");
var oItemTemplate = new sap.ui.core.ListItem();
oItemTemplate.bindProperty("key", "Matnr");
oItemTemplate.bindProperty("text", "Description);
oInput.bindItems("/sap/opu/odata/sap/Z_MATNR_F4_SRV/materialSet", oItemTemplate, null, "'');
This should work ?
I tried this.. it is not fetching...
Let me know? -
Tree Control Drop? Event in LV 8
Hi,
I developed one application using LV 7.1 which uses tree control Drop? event.
using this event I can get and compare source tag and target tag and based on result I can omite the Drag and Drop event.
But in LV 8 for Drop? event I am not getting Source and Target Tags. Same function how I can implement in LV 8.0?Hello,
There is a lengthy thread on this topic here (including comments from the owner of Drag-and-Drop on the LabVIEW team):
http://forums.ni.com/ni/board/message?board.id=170&message.id=158683
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman -
Lacking true native "Deferred" or "Promised" file drag from JAVA
Hello all,
I have been playing around with the drag and drop APIs for quite some time (about 1.5+ years) and I am having a problem producing functionality similar to dragging network-based files in "Windows Explorer". I am not sure if I have overlooked something or if DnD with the native OS is lacking a huge piece of functionality. I would appreciate hearing people's feedback or experience with similar problems.
First, some background. My company's applications provide remote access to a central storage of digital assets (read "files"). Our client provides a view of the files on the server. We have C++-based applications running on both Windows and the Macintosh are able to drag from our application to the desktops and Explorer windows. However, in these drag operations, they each employ a mechanism to hold-off providing the native OS file data until the drop has successfully completed. The OS in each case provides a "callback" to notify our application that the drop succeeded and that we should go and transfer the files. In this way, we can pay the price of transferring the files locally ONLY when the drop occurs (same thing can be applied to the Clipboard).
However, from what I can tell, the AWT/SWING DnD APIs provide no mechanism to do this type of operation. In order to drag files to the native OS, you must explicitly provide the files BEFORE you initiate the drag operation (or place them on the clipboard). This places doing viable native drag and drop from our JAVA applications in serious jeopardy and is causing a great deal of displeasure from our management who are questioning the "readiness" of JAVA.
Since I can't seem to find a way to accomplish this, I have tried entering enhancement requests (about 8 to date), but I have failed to hear back about a single one. I think that either Sun does not monitor some of their enhancement lists or they do not want to address this heavily-desktop oriented issue (I am not sure if this scenario is even possible on a UNIX machine where most things must be "mounted" locally before they can be viewed -- SMB browsing may be the only exception that comes to mind but I do not know if anyone has done this).
In the meantime, we have attempted to change the workflow of our application. We have provided a JAVA window that mimics the filesystem so that we can get the drop event and provide the illusion of a "deferred" drag. In addition, we have provided and "export" feature that places the file locally afterwhich they may grad anywhere they desire. Both of these solutions are hacks and leave a very bad taste in our user's mouths. We can try to write JNI pieces, however, there are just too many UI locking issues to contend with to ensure a timely release of our software.
Has anyone else run into this before? Can anyone provide a more useful workaround? Is it possible to get this issue looked at from SUN? If SUN is looking at it already, what kind of timeframe are we looking at until a potential solution?
Thank you for your time.
Michael MacalusoI am curious about the verdict for "deferred" file transfers. I have hit the same wall. I have a JAVA client window that allows the user to browse a network file repository. Most of our clients use a Windows platform, so that is my primary interest. I was hoping to: 1)capture the drop event, 2) request the data from the server, and 3) stream it to a temp file/ or to the destination directory, and 4)allow the file system to transfer the temp file. However, I cannot find any documentation regarding this issue.
So I wanted to swtich tracks and set my transferrable data to represent a file on the central server, but that would require a URL object, and I have failed to set the MIME types correctly for NTFS to recongize the transfer. Sorry I don't have any answers. Any suggestions? -
Drag object won't drop in Presenter
Using a drag and drop quiz component from within Flash 8, my
swf file works correctly in ppt but not in Presenter. Once compiled
the object will drag but will not drop using Presenter 6.0. Using
Flash 8 professional and Flash 8 player. Does anyone know the
action script code for flash that functions in Presenter to allow
an object to drop?bigwave,
I was cruising through some old posts looking for some info
on a totally different topic, and I came across your initial
question from months ago...I'm sending a PM, but for the benefit of
others who may have been attempting to use Flash's built-in
learning components and importing into Powerpoint, I thought I
share the following:
(taken from a previous post)
As you have no doubt already realized, using the Learning
Interaction templates that are available in Flash MX / MX2004 and 8
will not work at all in Presenter content.
The coding methods conflict while playing back within the
Breeze environment and I think it has to do with the _dropTarget
property as part of the interaction's codebase. The _dropTarget
method is
NOT supported in Breeze, but the hitTest() method
IS!
I have written a few drag and drop exercises that do work
within Breeze content, and you have to use the hitTest() method to
accomplish it.
As you already have discovered, the bottom line is that the
learning components were intended to be "stand alone" objects that
could be incorporated into a web page (or even a CD as these
objects are nothing more than swf files). Aside from the fact that
the prebuilt/preconfigured learning objects in flash don't always
work in Breeze, in my mind, the bigger question here is the ability
(or more accurately) the inability to connect these SCO's to an LMS
for tracking. As stand alone objects, they're actually pretty
handy...but not in Breeze.
I realize this doesn't help much with what you're trying to
do, but from my perspective, you're better off creating your own
drag n' drops.
I've got a bunch of examples to share if you'd like to take a
look...just send me a PM or email if you're interested.
Rob
[email protected] -
Why do some of the songs on iTunes not transfer to my iPhone when I drag and attempt to drop them?
No one hear has any idea why you are having a problem without a lot more information. Have you checked Sync only checked songs? Have you checked "Manually manage music and videos"? Are ANY songs transferrring, or None? Are all of the songs purchased with the same iTunes account? ARE they purchased iTunes songs or from another source? Are you using the same computer all the time (the iPhone can sync music from only one computer at a time)?
-
How can i link two drop down buttons added dynamically
guys got a wired problem but plz help.
i m using jbuilder to create m y website.
in this i got 2 drop down buttons.
when the 1st(p1) 1 is clicked then second 1(a1) shows value respective of the value clicked in 1st 1.
i dynamically add similar drop dowm on click of a button.
but when value in the new drop down is selected (p2) it shows changes in 1st drop down (a1) not in newly created drop down(a2)
could u guys plz help me out.
its really urgentthis is the code i m using to create the drop down
->
var i=0;
var option=new Array();
function insRow(){
var d=document.getElementById("div");
d.innerHTML+="<select id='D"+i+"' class='input' onChange='getSh(this.selectedIndex)'><option>Select Here</option>"+
<%
rs=st.executeQuery("select * from productTab");
while(rs.next())
%>
"<option><%=rs.getString("productName")%></option>"+
<%}%>
"</select>"
d.innerHTML+="<select name='DD"+i+"' id='DD"+i+"' class='input'><option>Select Here</option></select>"
d.innerHTML+="<select name='DDD+i' id='DDD+i' class='input'><option>Select Here</option></select>"
d.innerHTML+="<input type=text name='T+i' id='T+i' class='input-time'><br>"
option +=["DD"+i];
option +=["D"+i];
i++;
function getSh(selectedcitygroup)
document.getElementById("DD+i").options.length=1
if(selectedcitygroup>0){
for(i=0;i<cities[selectedcitygroup].length; i++)
document.getElementById("DD+i").options[document.getElementById("DD+i").options.length]=new Option(cities[selectedcitygroup].split("|")[0], cities[selectedcitygroup][i].split("|")[1]) -
Dragging from the address bar to desktop... Why open a new window?
Running 64bit Windows 7 Pro with SP1 installed. Also running Internet Explorer 11.
When I drag the icon from the address bar of IE to my desktop to create a shortcut to that webpage, the current tab will close and a new browser window opens and loads the page. Why does this happen, and more importantly, how can I stop it?Hi yes... it did work before Tear-able tabs were introduced...
I opened a connect ticket at the MS Feedback channel for IE.
https://connect.microsoft.com/IE/feedback/details/930834/dragging-from-the-address-bar-to-desktop-why-open-a-new-window-tearable-tabs-breaks-drag-drop-to-desktop-from-addressbar
I don't think it will be a show stopper...
another workaround is to store all of your links in your Favorites folder (or Favorites Bar folder)...
then the Address bar autocomplete makes it easy to retrieve the web address and navigate back to the website....
If you are using the desktop to store your downloads (zips/whatever), there is no need for this as the IE Download Manager will retain a listing of downloaded files (until you clear it)... you can also choose to save your downloads to the Desktop folder
I/o the default Downloads folder.
Rob^_^
Maybe you are looking for
-
Can you have two ipods on the same itunes??
My songs keep getting deleted from itunes. i don't know if this is because i share itunes with my sister so we are using two iPods on one itunes. can we use the same itunes or do we have to use different ones? Someone help me. PLEASE!!! Thanks Rae-Le
-
Why after installing i0S7 to my Apple i phone 4 I can no longer charge my phone by plugging it into electricity. I could before and now since this update it now longer works. How can I fix this?
-
A media for an HD wedding file H264 .mp4
Hi guys, Maybe I'm a little dummy but.... I have a 4,90Gb Mp4 (h264) HD file. Is the result of a 27min wedding video project. And now? How to let bride and groom see their wedding on their own HDTV? I bought a 8 Gb pen drive to put it on but of cours
-
My installation didn't work...help!!!! (please)
my computer shut off when i downloaded itunes so it didn't finish. when i try to continue the installation it says "Quicktime is needed" but it is on my desktop. i can't open quicktme nor uninstall it. can someone help?
-
What is the concept of Hierarchies in ABAP? Please explain and provide some documents