I want to add a push button or a clickable link into a cell of table
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to add a push button or a clickable link into a cell of table,.. How can I do this??
I am using MATLAB GUI Window...
Please anyone help.
0 comentarios
Respuestas (1)
Oleg Komarov
el 9 de Mayo de 2012
You have to code a 'ButtonDownFcn' which has to parse the string and check if it's an HTML link, then open the link, format the link to violet (optional).
To get you started:
f = figure('Position',[200 200 400 150]);
link = '<http://www.mathworks.com/matlabcentral/answers/37852 My thread>';
t = uitable('Parent',f,'Data',{link},'ColumnName',{'Col1'},...
'ColumnFormat',{'char'},'Position',[20 20 360 100]);
1 comentario
Daniel Liberman
el 20 de Mayo de 2020
Hi,
What if insted of an html I wand to create a list of hyperlinks to pdf/docx files?
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!