Drag And Drop in ALV Column Tree

Hello All,
Can anyone tell me the method used for  a drag and drop in a column tree....
i found it for a simple tree but not for a column tree.....
thanks in advance....
Regards,
Praveen

Check the links -
drag drop required for alv column!
drag and drop in a tree
Drag&Drop within the Tree
Drag&Drop within a tree
Drag and drop in ALV tree
Regards,
Amit
Reward all helpful replies.

Similar Messages

  • Drag and drop in ALV tree

    Hi All,
    I have a small requirement, I have to implement drag and drop functionality in ALV ( simple trees ) in such a way that the entire contents ( Folders and its sub folders ) have to be copied. As of now i am able to drag and drop
    one at a time, ie drag and drop  folder and then  again drag and drop its sub folder. Any solution to drag and drop both folder and its sub-folders in one step.
    example program -> rsdemo_drag_drop_tree_multi which allows drag and drop  of folders one at a time.
    Thanks and Regards,
    Kiran.

    Hi ,
    just type BCALV_DND_* in se38 editor and press f4 you will get log of examples for drag n drop funtionality.
    regards
    Ashutosh
    reward points if helpful

  • Drag and Drop in ALV

    Hi All,
    I have the latest version configured. In the ALV, I have new feature to drag and drop the column
    in the ALV table so that it's position can be changed.
    Because of this my columns settings are getting disturbed.
    How to disable this feature.
    I have already coded as
    lr_model->SET_COLUMN_SELECTION_ALLOWED( abap_false ).
    lr_model->set_fixed_cols_left_allowed( abap_false ).
    lr_model->set_fixed_cols_right_allowed( abap_false ).
    Earliest replies are highly appreciated.
    Thomas: Any way to do this.
    Regards,
    Lekha.

    Hi Lekha,
    Please refer to the link below. This link elaborates how to enable Drag and Drop functionality in tables. I hope reversing those settings and properties will disable drag n drop feature.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0760510-a2d5-2b10-de9f-d897679696e3
    I hope this will help your cause.
    Regards,
    Sumit

  • Reordering of rows - issue with drag and drop of editable columns in table

    JDeveloper: 11.1.1.6.0
    ADF Faces - Drag and Drop for reordering of rows within the same af:table
    I have a requirement for reordering rows in a table using drag and drop. This table is loaded using a list and I am able to programmatically do the reordering of the rows based on the events of drag and drop by manipulating the list. Reordering of rows is working fine if all the columns are read only. For all the input text and input date columns the values are not getting reordered. Anyone has any idea on what the issue may be with reordering of the rows for editable columns/rows (af:inputText and af:inputDate) in af:table. Below is what Iam doing on drop event which is a collection drop target.
    public DnDAction dropCollection(DropEvent dropEvent) {
    try
    Object dropSite = dropEvent.getDropSite();
    Transferable transferable = dropEvent.getTransferable();
    DataFlavor<RowKeySet> rowKeySetFlavor = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
    RowKeySet rowKeySet = transferable.getData(rowKeySetFlavor);
    RichTable table = (RichTable) dropEvent.getDragComponent();
    if (rowKeySet != null)
    CollectionModel dragModel = transferable.getData(CollectionModel.class);
    Object dragM = dragModel.getRowData(0);
    Object currKey = rowKeySet.iterator().next();
    dragModel.setRowKey(currKey);
    table.setRowKey(currKey);
    OrderData orderData = (OrderData)this.prodReportTableData.get(Integer.parseInt(currKey.toString()));
    this.prodReportTableData.remove(Integer.parseInt(currKey.toString()));
    this.prodReportTableData.add(Integer.parseInt(dropSite.toString()), orderData);
    OrderData orderDataAdded = this.prodReportTableData.get(Integer.parseInt(dropSite.toString()));
    JSFUtils.addPartialTarget(this.getProdReportTableBinding());
    catch(Exception e)
    e.printStackTrace();
    return DnDAction.MOVE;
    Code snippet from UI:
    <af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
    var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
    rows="40" emptyText="No data to display." id="t1"
    partialTriggers=":::cb1" columnStretching="column:c3"
    binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}" summary="PROD TABLE">
    <af:dragSource actions="MOVE" defaultAction="MOVE"
    discriminant="rowmove"
    dragDropEndListener="#{pageFlowScope.prodReportBackingBean.afterDragAndDrop}"/>
    <af:collectionDropTarget dropListener="#{pageFlowScope.prodReportBackingBean.dropCollection}"
    actions="MOVE"
    modelName="rowmove"/>

    Hi,
    not sure its the reason but you have huge bummer in your configuration.
    <af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
    var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
    rows="40" emptyText="No data to display." id="t1"
    partialTriggers=":::cb1" columnStretching="column:c3"
    *binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}"* summary="PROD TABLE">
    JSF component bindings should not be to beans in a scope larger than request to avoid stale component instances.
    Frank

  • Drag and Drop between the Two Tree controls

    Hi all,
    I am Flex newbie. Can anyone please send me the drag and drop
    example between the Two Tree controls.
    Thank you
    -Nagaraju

    "ndendukuri" <[email protected]> wrote in
    message
    news:gdnbtt$7tt$[email protected]..
    > Hi all,
    >
    > I am Flex newbie. Can anyone please send me the drag and
    drop example
    > between the Two Tree controls.
    >
    http://flexdiary.blogspot.com/2008/07/getting-help-in-flex-builder.html

  • Is it possibiel to disable drag and drop of JTable columns?

    Hi,
    Using JDK6 I would like to disable user to drag and drop columns and change the default layout of my JTables.
    Thanks for any help,

    Using JDK6 I would like to disable user to drag and drop columns Read the JTableHeader API. You can prevent reordering of the columns.
    and change the default layout of my JTables.How do you expect us to answser this??? What do you mean by changing the layout? Whats wrong with row and column and what do you want to change it to?

  • Drag and Drop in feature in Tree UI element

    Hello All,
    The requirement is as following. The webdynpro screen should show two nodes Node1 and Node2. Each node would have some attributes.
    Node1           
    __AAA
    __BBB
    Node2
       |__XXX
       |__YYY
    It should  be possible to drag and drop attributes from node to another node(Example , cut YYY from Node2 and add it to Node1).
    Now can we achieve this using Tree UI element? Please let me know your inputs?
    Regards,
    Raghu.

    it should be possible according to sap help[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a5/bf47414eca430794189fbb5919cc2f/content.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a5/bf47414eca430794189fbb5919cc2f/content.htm]
    Edited by: Baskaran Senthivel on Jan 16, 2012 8:41 PM

  • How to Drag and drop Between ALVs

    Hello Experts,
                    How to drog and drop from one alv to another alv. Is it possible? Please suggest me..
    Thanks.

    Hi Pankaj,
                Thanks for ur reply.I have two grids.The first grid have set of values.I want to drag selected entry in first grid to second grid. For example
    First grid             Second grid
    Value1
    Value2
    Value3
    First grid              Second grid
    Value1                     Value2
    Value3
    Is it possible?
    Thanks.

  • Drag and drop a table column?

    Hi All gurus.
    Is it possible to drag a standard table as well as an ALV table column?
    To re-phrase my question, I want to swap the positions of 2 columns in a table. Possible?
    Thanks in adv!

    >
    Aishi Sharma wrote:
    > Great. But we are already on EHP3. But I can't see the functionality. Do we need to code in a particular fashion for the tables? or do we need to switch "on" the EHP or something like that?
    You must be confusing ERP Enhancement Packages with NetWeaver Enhancement Packages. They are two completely different things.  NetWeaver Enhancement Package 1 is just now in Ramp-Up.  NetWeaver EnhP2 is in development and EnhP3 doesn't exist at all yet. Therefore I must assume when you say you on EHP3 you mean ERP Enhancement Package 3.

  • Drag-and-drop tree list from files/folder

    Hello all. I'm new to Flex and I'm looking for some help or
    for someone to point me in the right direction. I want to write a
    simple AIR application to accept a multiple text files (or a folder
    full of text files) when the files/folder is dragged into a tree
    list. The file/folder name will be the node name. When selected,
    the contents of the file will be displayed in a text area. The text
    file will contain a 4 x 4 number matrix with each column separated
    by a tab and each row separated by a return. (I plan on plotting
    the numbers in the matrix in the future).
    What I'm most confused about is how to go about
    dragging-and-dropping files into a tree list and creating item
    names based on the file/folder name? And does the file content need
    to go into an array collection?
    Maybe I'm going about this in a difficult way. If there is an
    easier way, I'd appreciate it if someone could share. Thank you
    all.

    I have the same problema and I´m not able to find the reason.
    The solution to get the event raised has been to copy configurations from wd standard appl FPM_TEST_DND_FORM and use my own Z feeder class : all  seems to work perfectly , but , if I try to do it from scratch the event  FPM_DROP_COMPLETED it´s not raised .
    I´ve compared both configurations/class ( the one that I´ve done from scratch  that it doesn´t raise the event and the one that I´ve adapted copying from standard that it raises perfectly  the event) and I haven´t  seen any difference (maybe I haven´t found) .

  • Tree Component Drag and Drop

    Hi, I've been playing around with a trail version of flex and
    was interested to know if anybody had tried to implement the drag
    and drop functionality of the Tree component to a TileList? After
    much messing about I noticed the format of the Tree data in the
    DragSource was different to that of other lists. I've tried
    overriding the addDragData method to see if I can change the format
    of the data although this seems to cause problems when the Drag
    complete event is triggered. Any ideas or help would be
    appreciated.

    Hey, Thanks for the reply. Yes this appears to work although
    it took a bit of messing around and I still had to override the
    dragCompleteHandler method of the Tree component to get the tree
    view to update. One issue I do have (This appears to be an issue
    with the tree component) is as you drag and drop files across from
    one tree to another, when you remove the last child node the parent
    node which has a folder icon changes to a document icon. Is there a
    way around this?

  • How to drag and drop nodes in Tree?

    Hi,
    I want to drag and drop nodes in the tree. For example a tree represents the hierarchy of employees reporting in an organization by using tree.I want to change the reporting an employee visible in the tree by simple drag and drop operation in place of going to another form for updating each employee record indiviually.
    Regards
    Piyush

    Ron,
    I looked into implementing drag / drop in one of the apex trees I created today and ran across this thread. Thank you Ron for the links, it helped a lot.
    I added the code below to my page's "Execute when Page Loads" (tree region id is "tree_reg") and the tree is now drag/drop enabled.
    It did break the [+] icon from collapsing the tree though ... but the apex.widget.tree buttons still work
    var regTree = apex.jQuery("#tree_reg").find("div.tree");
    regTree.tree({ 
    callback : {
    onmove: function(NODE, TREE_OBJ, REF_NODE, TYPE)
    {alert(NODE.id+"   "+TREE_OBJ.id+"   "+ REF_NODE);}
    });Next, I plan on creating a AJAX call using NODE.id, TREE_OBJ.id, and REF_NODE
    V/R
    Ricker

  • 1. Resizing of column width. 2. Drag and drop of columns for resequencing

    QUERY : Has anyone some experience in implementation/development of following functionality in a JSP/Tomcat server based application:
    1. Resizing of column width for a result which has multiple columns. .2. Drag and drop of these columns or any other mechanism for re-sequencing the columns?
    I would like to know will JSF would be helpful in it.

    Amit,
    The column resizing and 'drag and drop ' are client side issues. They requires DHTML and Javascript.
    AJAX is what is required. (wiki AJAX for more info)
    I am working on an AJAX grid and combobox component for JSF that will do this and many more functions.
    Let me know if you want more information.
    [email protected]

  • Drag andn Drop facility in af:tree in ADF Faces

    Hi,
    I am exploring on the possibilities to get drag and drop feature working in an ADF Faces Tree element. Basically, I want to drag the nodes in the tree under other nodes within the same tree.
    I tried using some Javascript libraries to achieve the same.
    http://ajaxpatterns.org/Drag-And-Drop#In_A_Blink
    But it seems that ADF Faces generate the "Id" of the nodes of the tree by prepending some string like "_id1:" to the ID provided in the Property Inspector for the node stamp of the tree element. So, we cannot use those libraries either which rely on the node id of the elements.
    Does ADF Faces plan to introduce this drag and drop feature in the af:tree element.
    Any help will be highy useful.
    Thanks,
    Ankit Goel

    Hi Frank,
    Can we know as to when ADF is planning to bring the drag and drop feature in ADF Tree component. Also, we would want to get a handle to the node ids of the tree. We need this to implement some right click features on the tree nodes. Is this also considered in the new UI features project.
    Can we know of any page where all new upcoming features are listed, or we can request for any desired UI features. Please help.
    Thanks,
    Ankit

  • Drag and drop to public folder

    I have an Intel Mac Mini running 10.4.9 connected to a windows domain & MS Exchange Server 2003 in a corporate environment. My problem: using Mail.app, I can read items within the public folders; however, I cannot drag-and-drop messages from my inbox to folders within the public folders. Any time I attempt this, the message in question is present within the public folder briefly, but then disappears once a sync occurs with Exchange.
    Any suggestions would be greatly appreciated.

    As I wrote before, when I tried to drag and drop the Public Folder Tree Hierarchy, I used account which had delegated Exchange Full Administrator role in Exchange 2003 and was also member of Enterprise Admins / Domain Admins in AD and Exchange Organization
    Administrators in Exchange 2007. According to Sembee suggestion, it is more than needed ...
    I think about manual deleting Public Folder Tree Hierarchy object from old Administrative Group (using ADSIEdit) and then recreating the new one in Exchange Administrative Group - using the following steps:
    http://blog.bruteforcetech.com/archives/766
    But I'm not sure if System Folders will be accessible then. There are many Outlook 2003 in organization, so "old" OAB access is necessary ...
    I can take report of permissions for the problematic Public Folder Tree Hierarchy object using dsacls.exe, if needed (there are many ACEs in DACL on them). I can also check Effective Permission for user I used for moving.
    But in both cases, I don't have any reference. I mean correct permission set for such object or necessary permission set for user used for moving.
    Regards,
    Jacek
    MCT, MCITP, MCTS, MCSE+M, MCSA+M

Maybe you are looking for

  • Slideshow, how to make clip the same length as audio file?

    Hi I've got several PowerPoint presentations and need to make an MP4 video file for each of them. I know how to export the slides as still images, and I also have the audio files broken up into individual mp3 files that match each slide. I'm trying t

  • PS CS4 with CR 5.7, Lightroom 2.7, DNG-converter 5.6 all fail to recognize 1000D .cr2

    I , like others have experienced http://forums.adobe.com/message/3706070#3706070,  also can't open Canon 1000D .cr2 raw files even though it's listed as supported in the Camera Raw 5.7 Readme http://www.adobe.com/special/photoshop/camera_raw/Camera_R

  • Quicktime lockup on installation

    I've been having this same problem since I bought a new ipod in July. Still havent been able to install the Quicktime application and the new Ipod doesnt recognise the old iTunes. I have XP SP3. Intel pentium 4 2.6Ghz. 4Gb RAM. 250GB open on one HDD,

  • Spacebar rewinds songs in iTunes 10

    When I'm using the miniplayer in iTunes 10, I hit the space bar to pause a song. Instead, it rewinds the song. The rewind button is constantly surrounded in a blue circle. I'm using 10.6.8.

  • How to QA the RAC setup

    hi , EBS R12.1 + RAC OEL 5.4 We have just outsourced(thru Oracle local support) the installation/migration/conversion of our EBS R12.1 from single node to RAC. The setup/config is: apps tier is on node1(apps2), and the db tier (RAC) in on node2(rdbms