UITableCellSelection callback for selecting cells and providing an output

12 vues (au cours des 30 derniers jours)
teawork
teawork le 4 Oct 2021
I need to select rows in the UITable I generated through the search button in order for the user to click it and get to another page. However, I cannot select it and I know that there is a UITablCellSelection but I am not sure how to use it or if it would work in this case. I would appreciate any help you can provide! Thank you

Réponses (1)

Srijith Kasaragod
Srijith Kasaragod le 26 Oct 2021
Modifié(e) : Srijith Kasaragod le 26 Oct 2021
Hi. One possible approach to solve the problem is given below:
'UITable' can be populated with links corresponding to the pages to be opened. The 'CellSelectionCallBack' function of the table executes when the user clicks on a row and can include code to identify the row being clicked on from the event object passed into the function as a parameter. You can refer this answer to know how to code up callback function to open an html link in a browser.
Additionally, refer this document to know more about uitable properties and callback functions.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by