Results 1 to 4 of 4

Thread: Ext.field.File Ext Js 6.5 modern Drag & Drop functionality

  1. #1

    Default Ext.field.File Ext Js 6.5 modern Drag & Drop functionality

    Hello everyone,

    I am using the Ext.field.File in my form for upload of documents.
    Is there a way to support file drag & drop on the input element ?
    I have tried to define the element as an Ext.drag.Target and implement the listeners but the onDrag gets called somehow randomly when file is dragged. Looks like drag is not called on all the childs.
    Anyone had this issue ?

  2. #2
    Sencha User
    Join Date
    Jul 2017
    Posts
    64
    Answers
    6

    Default

    Perhaps this might help you?

  3. #3

    Default

    Hi,
    Thanks for your answer. Unfortunately this is not exactly what I need.
    I have to have the possibility to upload a file via browse button (standard functionality of Ext.field.File) and drag and drop.

  4. #4
    Sencha User
    Join Date
    Jul 2017
    Posts
    3

    Default

    I'm very interested to this, basically what i need is a filefield, but in addition to the browse button i need the possibility to drag and drop a file in the component and have the same final effect when i do the form submit later

Similar Threads

  1. Drag and drop functionality
    By sahiltanta in forum Ext JS 6.x Q&A
    Replies: 5
    Last Post: 27 Jan 2016, 6:54 AM
  2. Awesome Uploader - Drag and Drop / Swfupload / File Field
    By carl23934 in forum Ext 3.x: User Extensions and Plugins
    Replies: 30
    Last Post: 24 Sep 2015, 3:03 AM
  3. Replies: 1
    Last Post: 2 Sep 2009, 4:51 AM
  4. Drag/Drop functionality for gridpanel
    By cdeguzman in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 4 May 2009, 3:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •