Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Isomorphic
    replied
    We don't have this slated as a 12.1 feature, but it could be sponsored for the release after that.

    We've had very few inquiries around this (this forum thread is just about it!) - it doesn't seem to come up in very many applications, and it's relatively easy to implement on your own.

    Leave a comment:


  • ostholt
    replied
    Hi Isomorphic.

    Anything new on this topic? It seems to be quite a standard feature. But our programmers tried around with that but did not get a satisfying result yet. Any timeline planned?

    Best regards

    Ralf

    Leave a comment:


  • Blama
    replied
    Hi Isomorphic,

    thanks. It's got to know that you consider this yourself and that it would be possible as Feature Sponsorship.
    I'll wait for other customer complaints / requests and perhaps get back to you.

    Best regards
    Blama

    Leave a comment:


  • Isomorphic
    replied
    Currently the way you would need to do this is to put some HTML elements in the innerHTML of a Canvas and add your own JS logic to work with native APIs for file drag and drop. It's relatively straightforward, although of course you will run into browser bugs.

    This is something we've definitely thought about wrapping up in a set of SmartGWT APIs so no native code is required, and that would be a valid Feature Sponsorship if you're interested.

    Leave a comment:


  • Best practice needed: Easier file upload via Drag & Drop

    Hi Isomorphic,

    is there some way to implement Drag and Drop fileupload with current FormItems (perhaps CanvasItem?).
    We have a customer request for this "that it works like in GMail":

    Click image for larger version

Name:	FileUploadGmail.png
Views:	55
Size:	36.5 KB
ID:	254876

    I know that you can drop a file on the browser's native (native because of the "Datei auswählen" String on German, even though the showcase is loaded in English) FileItem:
    Click image for larger version

Name:	NativeFileItem.PNG
Views:	39
Size:	4.6 KB
ID:	254877

    But this is not modern enough here and a normal filedrop somewhere on the GUI in the Showcase just results in Chrome 68 opening the .txt-file.

    12.1d Canvas does not have a "addFileDropHandler or similar". addDropHandler() seems to be related to SmartGWT internal DnD only.

    If this is not possible yet, could you consider it as potential enhancement?

    Thank you & Best regards
    Blama
Working...
X