Drag & Drop on singleCell in Advanced Datagrid

Hi There
Is it posible to make a "Exel" like flex app where you drag from one cell to another cell to organise you data ?
Regards
T

Hello Cedric,
I'm sorry but I had the confirm from people at NI France support that you can't trigger an event drag&drop on the whole XCTL.
You can only trigger this kind of event concerning individual controls inside the XCTL. It trigger the event structure in "facade.vi". from there if you can get a queue to communicate between the xctl and the containing VI, you can get your state machine doing the event you want (with a producer-consumer structure).
It's not perfect but it is the only workaround we found at Nerys.
Sebastien DEVISSCHER - Nerys

Similar Messages

  • Drag and Drop in DataGrid/Advanced DataGrid

    Hi All,
    Here is the scenario, assume that i have some 10 records in
    DataGrid/Advanced DataGrid .I have selected 4th record and when i
    try to drag the selected item to
    down, i should be able to drag all the records one step down
    from the selected record( from 4 th record to 10th record)
    i.e, re-arranging the items
    If i drag the selected item(assume that some 6th record) to
    top, say to 2nd row then from the second row all the rows
    has to come down.
    And How do we
    add the rows at middle and at the specified position?
    Any help will be appricated and Thanks in Advance.

    Hi All,
    myself got the solution for re-arranging the datagrid items
    by using the pre-defined properties of DataGrid.
    I can also get the index number of Items while start dragging
    but the problem is how do i get the index number where the Items
    dropped.
    Here is the code..............
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="horizontal">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var datagridData:ArrayCollection = new
    ArrayCollection([
    {task:"testing drag and
    drop",category:"Office",priority:"Medium"},
    {task:"testing datagrid
    DND",category:"personal",priority:"High"},
    {task:"testing services for
    todo",category:"office",priority:"Medium"},
    {task:"meet ravi on
    sunday",category:"personal",priority:"Low"},
    {task:"buy a book",category:"friends",priority:"Medium"},
    {task:"play cricket",category:"friends",priority:"Low"}]);
    private function onDragStart():void
    Alert.show("selected Indices"+dataGrid.selectedIndices);
    private function onDragComplete():void
    Alert.show("selected Indices"+dataGrid.selectedIndices);
    ]]>
    </mx:Script>
    <mx:DataGrid id="dataGrid" dataProvider="{datagridData}"
    dragEnabled="true" dragMoveEnabled="true"
    dropEnabled="true" allowDragSelection="true"
    allowMultipleSelection="true" rowCount="10"
    dragStart="onDragStart()"
    dragComplete="onDragComplete()">
    <!--dragStart="onDragStart()"-->
    <mx:columns>
    <mx:DataGridColumn dataField="task" headerText="Task"
    width="200"/>
    <mx:DataGridColumn dataField="category"
    headerText="Category"/>
    <mx:DataGridColumn dataField="priority"
    headerText="Priority"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>

  • Having trouble dragging/dropping files from my MacAir to a shared drive window, when I try to drag/drop gets bounced out. Can anyone help with advice on how to drag/drop or otherwise copy files to a shared drive? thanks in advance

    I am having trouble dragging/dropping or otherwise copying files from my MacAir to a window for a shared drive.
    When I try to drag/drop, files get bounced out.
    Anyone know how to drag/drop in such a case, or otherwise copy files from MacAir to a shared drive (which I do  not believe is on a Mac, not sure if that matters).
    Any help much appreciated, thanks in advance
    J.

    I am having trouble dragging/dropping or otherwise copying files from my MacAir to a window for a shared drive.
    When I try to drag/drop, files get bounced out.
    Anyone know how to drag/drop in such a case, or otherwise copy files from MacAir to a shared drive (which I do  not believe is on a Mac, not sure if that matters).
    Any help much appreciated, thanks in advance
    J.

  • Drag&drop datagrid - autoscroll

    Hi,
    I have two DataGrid with 5 rows visibles but with 20 data.
    I enabled the drag&drop functionnality between two
    DataGrid
    and this is the following code for the dropping operation:
    // avoid the default behavior
    evt.preventDefault();
    // remove the black line when dropped
    evt.currentTarget.hideDropFeedback(evt);
    [other code that will insert the row inside the datagrid, not
    important...]
    So, when dropping a row inside the other DataGrid, this
    component will auto-scroll when I move the mouse up or down even if
    the cursor is outside of the component. This never stop.
    I don't know if it's a feature or a bug , but I'm trying to
    list all eventlistener from this component so I can remove events
    MOUSE_UP and MOUSE_DOWN in drop event so I can stop it.
    Is anyone having similar issues ? Do you have any tips on how
    I can list all evenlistener from a component?
    Thank you!

    "mr_bleu" <[email protected]> wrote in
    message
    news:gnelom$gpc$[email protected]..
    > Hi,
    >
    > I have to boxes with 5 rows visibles but with 20 data.
    >
    > I enabled the drag&drop functionnality between two
    DataGrid
    > and this is the following code for the dropping
    operation:
    >
    > // avoid the default behavior
    > evt.preventDefault();
    >
    > // remove the black line when dropped
    > evt.currentTarget.hideDropFeedback(evt);
    >
    > [other code that will insert the row inside the
    datagrid, not
    > important...]
    >
    > So, when dropping a row inside the other DataGrid, this
    component will
    > auto-scroll when I move the mouse up or down even if the
    cursor is outside
    > of
    > the component. This never stop.
    >
    > I don't know if it's a feature or a bug , but I'm trying
    to list all
    > eventlistener from this component so I can remove events
    MOUSE_UP and
    > MOUSE_DOWN in drop event so I can stop it.
    >
    > Is anyone having similar issues ? Do you have any tips
    on how I can list
    > all
    > evenlistener from a component?
    I would think that this would be related to mouse_move?

  • Able to drag drop items of combobox but want to disable 1st item

    Hello Sir,
    I am able to drag drop elements of the combobox.
    Here is my code...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" xmlns:local="*" xmlns:utils="adobe.utils.*" xmlns:controls="qs.controls.*" initialize="init()">
    <mx:Script>
    <![CDATA[
    import mx.events.DragEvent;
    import mx.events.ListEvent;
    import mx.controls.dataGridClasses.DataGridColumn;
    import mx.controls.ComboBox;
    import mx.controls.Alert;
    [Bindable]
    public var str:String = "";
    public var comboLength:int;
    public function init():void
    var xml:XML = <test>
    <col>
    <col1>one</col1>
    </col>
    <col>
    <col1>two</col1>
    </col>
    <col>
    <col1>three</col1>
    </col>
    <col>
    <col1>four</col1>
    </col>
    <col>
    <col1>five</col1>
    </col>
    <col>
    <col1>six</col1>
    </col>
    <col>
    <col1>seven</col1>
    </col>
      </test>;
      cb1.dataProvider = xml;
      comboLength = xml.col.length();
      cb1.rowCount = comboLength;
      str = (xml.col[0].col1.toString());
      cb1.prompt = str;
    public function closeHandler(event:Event):void
    if(MouseEvent.DOUBLE_CLICK)
    // Alert.show("Click Event");
    public function changeHandler(event:ListEvent):void
    // Alert.show("Single Click Event");
    public function doubleClickEvent(event:MouseEvent):void
    Alert.show(event.currentTarget.toString());
    Alert.show(event.target.toString(),"Double Click");
    public function dragEnterFunction(event:DragEvent):void
    Alert.show(event.target.parent.toString());
    ]]>
    </mx:Script>
    <mx:ComboBox id="cb1" prompt="prashant" doubleClickEnabled="true" doubleClick="doubleClickEvent(event)"
    close="closeHandler(event)" dragEnter="dragEnterFunction(event)" >
    <mx:itemRenderer>
    <mx:Component>
    <mx:DataGrid itemClick="outerDocument.cb1.text = this.selectedItem.col1.toString();itemSelected(event)"
    dragEnabled="true" dropEnabled="true" dragDrop="draDropHandler(event)" dragMoveEnabled="true" headerHeight="0" showHeaders="false"
    creationComplete="init()" click="clickable()"
    itemDoubleClick="doubleClickEvent(event)">
    <mx:columns>
    <mx:DataGridColumn dataField="col1" headerText="" id="da" disabledColor="white"  />
    </mx:columns>
    <mx:Script>
    <![CDATA[
    import mx.controls.DataGrid;
    import mx.events.DropdownEvent;
    import mx.events.ListEvent;
    import mx.events.DragEvent;
    import mx.controls.Label;
    import mx.controls.Alert;
    public function clickable():void
    //Alert.show("clickable");
    public function itemSelected(event:ListEvent):void
    Alert.show(event.itemRenderer.data.col1,"Single Click");
         public function draDropHandler(event:Event):void
    Alert.show(event.target.parent.toString());
    public function dragEnterFunction(event:DragEvent):void
    Alert.show(event.target.parent);
    override public function set data( value:Object ) : void
    this.dataProvider = value.col;
    //outerDocument.cb1.text = this.selectedItem.col1.toString()
    //myList.addEventListener(ListEvent.ITEM_DOUBLE_CLICK, onItemDoubleClick,
    public function doubleClickEvent(event:ListEvent):void
    Alert.show(event.itemRenderer.data.col1,"Double Click");
    ]]>
    </mx:Script>
    </mx:DataGrid>
    </mx:Component>
    </mx:itemRenderer>
    </mx:ComboBox>
    </mx:Application>
    But now i want to disable drag drop of the 1st item and the last item.
    And also add double click of each item.
    Can someone please help me out.
    Awaiting your reply.
    Thanks in advance.

    Hello Sir,
    Thanks a lot for your reply.
    I have implemented some thing can you please help me out with this?
    In this can you help me out with the double click event????
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
    xmlns:local="" xmlns:utils="adobe.utils." xmlns:controls="qs.controls.*"
    initialize="init()">
    <mx:Script>
    <![CDATA[
    import mx.events.DragEvent;
    import mx.events.ListEvent;
    import mx.controls.dataGridClasses.DataGridColumn;
    import mx.controls.ComboBox;
    import mx.controls.Alert;
    import mx.controls.listClasses.ListBase;
    import mx.core.UIComponent;
    public var str:String = "";
    public var comboLength:int;
    public function init():void
    var xml:XML =
    </mx:Application

  • Advanced datagrid dropline

    I have used dragStart and dragDrop event in advanced datagrid for drag and drop row. While draging drop line show above the drop row. I need it will be below the drop row.
    Can any one help me?

    My answer to your other question is also applicable here. The dataField property can be accessed via the listData property of your renderer if your renderer implements the  IDropInListItemRenderer interface. You'll need to cast listData to AdvancedDataGridListData.

  • BW Report iView Drag&Drop

    We have configured a BW Report iView.  The report appears to be generated correctly.  However, drag & drop functionality does not seem to be available.  When using the URL iView, the drag & drop is supported.
    Appreciate if you could advise how to make drag & drop work when using BW Report iView.  Thanks.

    Hi Raja,
    When I execute the query as stated by you i.e; query designer and then by clicking on the display query on the web(ctrlshiftw) button it takes me to aol's search engine
    Alternatively when I uncheck the show friendly http error messages and preview the iview it throws the following error
    The following error occurred:
    Could not connect because of networking problems. Contact your system administrator. (CANT_CONNECT)
    Please contact the administrator.
    I have checked all connection properties and the test connections - Connection Test for Connectors connects successfully as well.
    Where could the problem be? Is there any other way of excuting the query on IE?
    Thanks in advance.
    Best regards,
    Divya Rao

  • Windows Storage Server 2008 - unzip with drag & drop from Windows 7 client fails

    Hello.
    As i asked this question in German and got no answer so i try it in English now.
    I have the following problem:
    We have a Windows SBS 2008, where we store our files. If somebody opens a ZIP-file on a network share from a Windows 7 Client (64 Bit) it is possible to drag & drop the content (multiple files) to a directory. So far everything works as expected.
    We now have an additional Windows Storage Server 2008 integrated in our domain (Buffalo Tera Station WS-QV8/R5), where we also store files. If somebody opens the same ZIP-file on a network share of this server from a Windows 7 Client and tries to drag &
    drop the content the following happens:
    1. only one file is extracted and to display the file a refresh of the explorer view is needed.
    2. when the drag & drop action is repeated a second file is extracted
    Not alle files are extracted and there is no error message or indication why this happens.
    The behaviour is reproducible from another Windows 7 Client (32 Bit).
    If we try to drag & drop the files from the ZIP-file on the Windows Storage Server network sahre to a directory on the SBS network share all files are extracted correctly.
    On the Windows Storage Server itself all files are extracted without problmems. Therefore it must be a problem with the combination of Windows Storage Server und Windows 7 Client accessing the files via network shares.
    Are there any ideas where this problem could be located? Has anybody the same phenomenon and maybe a solution for it?
    Thanks in advance
    Michael Pruss

    Hi Michael,
    Thank you for clarifying the issue for us.
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    Regards
    Kevin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback
    on our support quality, please send your feedback here.
     

  • Reseting a drag & drop game

    Hello All:
    I'm having trouble reseting a drag & drop game. It is a movie clip with two pages: start_pg and game_pg. On start_pg is a start button (start_btn) that goes to game_pg. On game_pg is button (end_btn) that goes back to start_pg. Both buttons share the same layer, so I made each invisible when not of its page. The game works fine, but when the end_btn is clicked, all movie clips that have been dropped, stay there.
    How can I go back to start_pg and reset all movie clips to their original starting point?
    // start game page
    stop();
    end_btn.visible=false;
    start_btn.visible=true;
    start_btn.addEventListener(MouseEvent.CLICK, goGame);
    function goGame (Event:MouseEvent): void
    gotoAndStop("game_pg");
    // game page
    var startX:Number;
    var startY:Number;
    var counter:Number = 0;
    pic_1.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    pic_1.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    pic_3.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    pic_3.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    pic_2.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    pic_2.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    pic_4.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    pic_4.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    function pickUp(event:MouseEvent):void {
    event.target.startDrag(true);
    event.target.scaleX = 1.2;
    event.target.scaleY= 1.2;
    m_txt.text = "";
    event.target.parent.addChild(event.target);
    startX = event.target.x;
    startY = event.target.y;
    function dropIt(event:MouseEvent):void {
    event.target.stopDrag();
    var myTargetName:String = "target" + event.target.name;
    var myTarget:DisplayObject = getChildByName(myTargetName);
    if (event.target.dropTarget != null && event.target.dropTarget.parent == myTarget){
      event.target.width = 230;
      event.target.height= 190;
      m_txt.text = "Good Job!";
      event.target.removeEventListener(MouseEvent.MOUSE_DOWN, pickUp);
      event.target.removeEventListener(MouseEvent.MOUSE_UP, dropIt);
      event.target.buttonMode = false;
      event.target.x = myTarget.x;
      event.target.y = myTarget.y;
      counter++;
    } else {
      m_txt.text = "Try Again!";
      event.target.x = startX;
      event.target.y = startY;
      event.target.width = 50;
    event.target.height= 40;
    if(counter == 4){
            m_txt.text = "Congratulations, you matched all rivers correctly!";
    pic_1.buttonMode = true;
    pic_2.buttonMode = true;
    pic_3.buttonMode = true;
    pic_4.buttonMode = true;
    // end game button
    start_btn.visible=false;
    end_btn.visible=true;
    // end game button
    end_btn.addEventListener(MouseEvent.CLICK, goStart);
    function goStart(Event:MouseEvent):void
    gotoAndStop("start_pg");
    Thanks in advance for any assistance.
    German

    Kglad:
    All my movie clips are on stage. Does it make any difference?
    I tried three options: 1) I didn't change the two functions and added the restore XY action to end_btn. It didn't work.
    end_btn.addEventListener(MouseEvent.CLICK, goStart);
    function goStart(Event:MouseEvent):void
    restoreXY(MovieClip(root));
    gotoAndStop("start_pg");
    The second option. In each function I changed
    the last part restoreXY(mc[obj]); to restoreXY(MovieClip(root));  (this didn't work)
    The third option was adding the storeXY to my function pickUp (which is when all movie clips exist in their original position) and keeping the restore action in end_btn. Didn't work.
    function pickUp(event:MouseEvent):void {
    event.target.startDrag(true);
    event.target.scaleX = 1.2;
    event.target.scaleY= 1.2;
    m_txt.text = "";
    event.target.parent.addChild(event.target);
    startX = event.target.x;
    startY = event.target.y;
    storeXY(MovieClip(root));
    In all cases, I got errors in many lines such as
    1120: Access of undefined property obj the scritp is   if(mc[obj] is "MovieClip" && mc[obj].parent==mc){
    Can you please tell where in my code I should put the storeXY and restoreXY(MovieClip(root));?
    Thanks again for helping me.
    German

  • Simple drag&drop with handler doesn't work in Edge?

    Hi all!
    I made this very simple example of Drag&Drop in Edge: http://www.terredainventare.it/simpledrag/simpledrag.html using Jquery Ui http://docs.jquery.com/UI/Draggable.
    I try to use the JQueryUi "handle" property that makes you drag an object restricting drag click on only one element but it doesn't work.
    Here's the code I've put in Edge onCompositionReady:
    sym.$("drag").draggable({ handle:"handler" });
    Of course my two Div-elements are called "drag" and "handler". Now the drag works only on the "wrong" element and not on the "handle".....
    Here's the Adobe Edge files: http://www.terredainventare.it/simpledrag/web.zip
    Many thanks in advance for your help!
    Davide

    So, on stage i add a rectangle named "drag" and i try this code:
    yepnope({
                nope:[
                'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js',
                'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css'
                complete: init
    function init() {
             //$("#Stage_drag").draggable();
             //$(sym.lookupSelector("drag")).draggable();
             sym.$("drag").draggable();
    3 lines work: $("#Stage_drag").draggable() or $(sym.lookupSelector("drag")).draggable() or sym.$("drag").draggable()
    And css file is not required.
    Well, your dowload link is not perfect but i download your folder. See you later.
    There is a tutorial: a movie tutorial (adobe tv). Mix it baby! Extending Edge Animate 02:57
    They use: yepnope (both, callback)
    yepnope({
         both: ['jquery-ui.min.js',
                   'jquery-ui.css'
         callback: function(){sym.$("drag").draggable()}
    I will send you your files tomorrow (private message).

  • Can't drag/drop MP4 files in iTunes 10 - Movies

    Recently I have installed the new iTunes 10. Now I am not able to drag and drop MP4 files to load videos in my iPod and iPhone. Earlier I used to drag & drop MP4 files and load my iPod. But with this new version in Windows 7 OS, I am not able to load videos. Became very frustrated. Can you please help me?
    Thanks in advance!
    Prasenjit

    I have the same problem! Is there anyone out there with an answer! I'm so extremely frustrated with this issue. I did everything that others have suggested on this community and others online. I used a converter (which doesn't even make any sense because I used to be able to drag/drop mp4 with ease without converting them before this stupid iOS5 and Itunes update). I renamed the file to m4v. There's tons of stuff I tried and still nothing. What frustrates me is that everyone is suggesting to convert and as I said I never used to do that with MP4's before. Why all of a sudden now?

  • Flex Advanced DataGrid with dynamic grouping

    Can we implement something similiar as in below link, using flex 3.
    http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/grouploadmodeclient/defaultcs.a spx
    I am not sure if flex 3 allows grouping of columns based on drag - drop component. Plus how to show the pictorial view of grouped columns, same as in the above example.
    Any help greatly appreciated.

    This blog post seems to answer your question:
    http://blog.flexgeek.in/2007/06/tips-tricks-adding-a-combobox-to-a-datagrid-header-as-head errenderer/
    http://omalraj.com/2009/06/flex-datagrid-header-with-a-combobox-filter/
    http://franto.com/custom-header-in-datagrid-part-2/
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

  • WPF DataGridComboboxColumn selction fails if Drag&Drop is used

    I've got a Usercontrol with TabControl including Datagrid for each tabItem. The Datagrid has 3 Columns, one as a combobox column.
    Now I've implemented some Drag&Drop function for moving rows using PreviewMouseLeftButtonDown and Drop event. With that the Drag&Drop
    is working fine. But I can't select from the combobox any more, the box opens and I can see the content but if I want to select an Item with the mouse it's selecting the datagridrow beneath the selectedItem of dropdown list. With the up/down key from the keyboard
    I can select.
    private void ConfigurationFileView_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    DependencyObject source = e.OriginalSource as DependencyObject;
    while (source != null && !(source is System.Windows.Controls.ComboBox))
    source = VisualTreeHelper.GetParent(source);
    if (source != null)
    // don't know what to do here....
    else
    DataGrid dataGrid = (DataGrid)sender;
    rowIndex = GetCurrentRowIndex(dataGrid, e.GetPosition);
    if (rowIndex < 0)
    return;
    dataGrid.SelectedIndex = rowIndex;
    ParameterVM selectedEmp = dataGrid.Items[rowIndex] as ParameterVM;
    if (selectedEmp == null)
    return;
    DragDropEffects dragdropeffects = DragDropEffects.Move;
    if (DragDrop.DoDragDrop(dataGrid, selectedEmp, dragdropeffects) != DragDropEffects.None)
    dataGrid.SelectedItem = selectedEmp;
    private void ConfigurationFileView_Drop(object sender, DragEventArgs e)
    DataGrid dataGrid = (DataGrid)sender;
    int index = this.GetCurrentRowIndex(dataGrid, e.GetPosition);
    if (index < 0)
    return;
    if (rowIndex < 0)
    ParameterVM newParameter = e.Data.GetData(typeof(ParameterVM))as ParameterVM;
    if (null == newParameter)
    return;
    ObservableCollection<ParameterVM> parameters = dataGrid.ItemsSource as ObservableCollection<ParameterVM>;
    if (!parameters.Any(p => p.Name == newParameter.Name && p.Type == newParameter.Type))
    parameters.Insert(index, newParameter);
    else
    if (index == rowIndex)
    return;
    if (index == dataGrid.Items.Count - 1)
    MessageBox.Show("This row-index cannot be drop");
    return;
    ObservableCollection<ParameterVM> parameters = dataGrid.ItemsSource as ObservableCollection<ParameterVM>;
    ParameterVM changedParameter = parameters[rowIndex];
    parameters.Move(rowIndex, index);

    Drag and drop within a datagrid is rather an unusual thing to do.
    I would suggest your problem lies in choosing to do something which will cause complications.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Drag/Drop Question

    I have implemented drag & drop using a datagrid and a list control. The items that need to be dragged are a simple value object that conatin data. Everything works as far as the drag/drop operations, however, I need to be able to know which item has been dropped. It's probably simple, but I can't find it. Can anyone help?

    Just give each item an id
    and listen to the
    <s:List id="destList"
         dragDrop="destList_dragDropHandler(event)"

  • Drag & drop solution - submit form

    Hi
    I'm creating some drag&drop page.
    My page looks like:
    <af:subform id="ListID">
    <afh:script source="/drag_n_drop.js"/>
    <af:table value="#{myBean.list}" var="item" >
    <af:column>
    <af:outputText value="#{item.data}" onmousedown="initDrag()" onmouseup="doDrop()" />
    </af:column>     
    </af:table>
    <af:inputHidden value="#{myBean.dragID}"
    valueChangeListener="#{myBean.drop}" id="dragID" />
    </af:subform>
    Now in initDrag() I'm able to properly get ID of dragged item and put it in hidden element.
    How should look my doDrop() javascript handler?
    Simple submit on proper form doesn't propagate dragID to bean and valueChangeListener isn't triggered.
    When I add on page simple commandButton, and push it instead of calling doDrop() function, everything works fine.
    I can also reuse javascript function from onclick in such button and it works (with buttion on page). However I don't want there be any button.
    What do I miss?
    Thaks
    Telcontar

    Hi there,
    As per the current design, 'Auto Submit' works only for correct answers. You can try adding the following advanced action in case if you don't want to report the Drag and Drop interaction.
    1. Create a user variable called 'count' with value '0'.
    2. Create a conditional action with the following statements.
    Assume your total number of Drag sources is 4, and then create a conditional action with the following statements
    Select the Target Object, Click on the 'Accept' button from Drag and Drop Properties Panel. (Accepted Drag Source dialog should open up)
    Set 'On Drop action' as Execute Advanced action, select the advanced action created in the above step, (set it for all sources).
    This action gets triggered while dropping sources and the else part gets executed on drop the last source object and movie continues to the next slide
    As I mentioned before, this doesn’t actually submit the question so it won’t work with 'Reporting' scenarios.
    Thanks,
    Nimmy Sukumaran.

Maybe you are looking for

  • Message subject,CC,header are displayed in the content part itself

    This is the mail content i am getting:: > Subject: Topic assigned in Discussion Forum Cc: Some ID Cc: Some ID > Mime-Version: 1.0 Content-Type: multipart/mixed;      boundary="----=_NextPartTM-000-2291bc8c-42c6-473e-bf3a-1907e8a05eed" This is a multi

  • Server Error Each Time I open iCal on iMac, no trouble on iCloud

    There is an event that opens up each time I open iCal on the iMac.I get a message, "The Server Responded with an Error" followed by the event.  I copied the info from a Facebook post to create the event, but I can't seem to delete it or get rid of th

  • JTable: scrollabel Cell

    Hi, I've already come up with this, but up to now I haven't received any answer. What do I have to do, to can I scroll a non editable cell within a JTable? Besides the CellRenderer, I have to implement the CellEditor. But I something is wrong, it jus

  • Macbook pro retina erratic trackpad issues

    Mapbook pro with retina display trackpad has erattic behavior after 2 - 3 minutes of use.  The behavior is most noticeable in Final Cut Pro X.  When dragging and dropping clips, multy touch gestures will trigger unintentionally, causing the app to sw

  • Recent imported photos cannot be edited nor will they show on slideshow. Help

    I am running Iphoto 09 on Macbook Pro OSX 10.6.8 snow leopard recent imported photos in my album cannot be edited nor will they show on slideshow while others in the same album do. if I open the picture from slide show I get a screen displaying a whi