(by using Matlab app)Mouse hover and when click on table row another file must be open
Show older comments

Q1) how to program mouse hover programming in matlab app.
Q2) when mouse hover on the first row of table i.e on John row (Row 1) all the edit text labels must disply the tablular values of John ie marks of each subject infront each subject.
Q3) when i click on any Row , another associated file (Word doc of excelfile ) must open.
Please provide any suitable solution with any suitable eg. or same example
Thanking You.
4 Comments
VIJAYKUMAR KAMBLE
on 10 Aug 2021
The task would be simplified if the user must click on the first row to achieve the goal in Q2 rather than just hovering over the row. There are methods of identifying the object under the cursor without clicking on the object but I do not know of a method that identifies the row of a table without clicking on the row. As far as I know, you'd have to compute the underlying row by converting the mouse coordinates to table-coordinates and identify the row based on row heights and header height which may be quite a workload.
VIJAYKUMAR KAMBLE
on 11 Aug 2021
Adam Danz
on 11 Aug 2021
You need to define a cell selection callback function. If you search for that phrase in the forum there are several examples but the documentation would be a good start, too.
Answers (0)
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!