Drag and drop in uihtml

7 ビュー (過去 30 日間)
Heorhii Koltsov
Heorhii Koltsov 2020 年 6 月 10 日
回答済み: Rahul 2025 年 6 月 9 日
Hi,
I wanted to implement the drag and drop functionality in uihtml and connect it to the matlab app. The html page is valid and working but when its loaded to the uihtml control the drag and drop functionality is not working
Is it actually supported and if yes, do I miss any configuration?
I was using this file as an example
regards
  3 件のコメント
Martin Höjer
Martin Höjer 2023 年 1 月 31 日
I have the same issue. I can get "dragstart" and "dragend" event to fire but not "dragover" "dragenter" or "drop" that are eventlisteners for the "drop-zones".
Anton Kogios
Anton Kogios 2023 年 6 月 28 日
Did anyone figure out a solution to this problem?
I am new to HTML/JavaScript, but does anyone know if this changes anything (it's mentioned in the uihtml documentation):

サインインしてコメントする。

採用された回答

Rahul
Rahul 2025 年 6 月 9 日
I understand that you wish to implement a drag and drop functionality with 'uihtml'. However, according to the limitations mentioned in the documentation for 'uihtml', it mentions: "Content cannot overflow the bounds of the HTML UI component".
Additionally I have observed that while this functionality is not able to be implemented in MATLAB Desktop, however implementing it using MATLAB online is a workaround in this case.
The following MathWorks documentation can be referred:
Thanks.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by