1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    1
    Vote Rating
    0
    webengine is on a distinguished road

      0  

    Default Trigger Drag drop event with onclick

    Trigger Drag drop event with onclick


    I'm changing an existing ExtJS application to work on the iPad... I'm quite a ExtJS n00b..

    Currently (with a drag drop) you can drag from a tree and drop it in the list. Which triggers an event. This works fine.

    Since drag-drop doesn't work on iPad I want a click event to trigger the drop event.

    var ns = Ext.namespace("HUB.Plugins.Event");
    ns.ScheduleListManager = Ext.extend(Object, {
    ...
    onEventDrop : function(dz, target, data) {
    }

    I thought I could trigger it with:

    var ns = Ext.namespace("HUB.Plugins.Event");
    ns.ScheduleListManager.onEventDrop(dz, target, data);

    But this doesn't work...

    How can I achieve this?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,918
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Have a look at fireEvent()

    Regards,
    Scott.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi