Code to get image file name in table on Mouse Click

You would use one of:

In the event argument you should have access to the data of the selected row/cell. See the examples in the above documents…