Turn single click into triple click

When you embed a table as data into a uitable, you need to triple click in a given cell replace the existing contents with what you type. Otherwise it just appends what you type to the existing data. Is there any way to take a single click and turn it into a triple click?

回答 (1 件)

Harsha Priya Daggubati
Harsha Priya Daggubati 2019 年 7 月 24 日

0 投票

Hi,
I suggest adding ‘Cell Selection Callback’ for the uitable and write the code to clear the data present in the selected cell using event.Indices property.
Hope this helps!

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

製品

リリース

R2019a

タグ

質問済み:

2019 年 7 月 17 日

回答済み:

2019 年 7 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by