only one column with pop up window and import data into row

I got it done now, that if I click on any cell a menu appears where I can select my file. But I just want this for a specific column and I also want that the filename appears in the cell in the colour blue.

For the import of the data I have to use the import-command right? If yes how can I include this into my code?

Direct link to this comment

A cell can contain a string, numerical data or a check box. It is not meaningful to import a text file into a cell of a uitable, or do you want the complete contents of the file appear inside this cell? Then you explain, that it should be a hyper link. This is something completely different. A hyper link should react to mouse clicks. And this is much harder to implement in a uitable. I assume you need some undocumented Java tricks to do so. But is it really needed to have a hyper link in a uitable? You can use the CellSelectionCallback to react to mouse clicks already. Why inserting an additional level of abstraction?

So proceed with finding out, what you actually need to have in this field table of the table. Where should which data appear?

Newcomers are welcome in this forum. Whenever you get the impression, that another member is impatient, do not take it personally as long as useful ideas are posted ;-)

Direct link to this comment

my txt-files will contain numerical data, but with several rows and two columns (POWER [W]/Time the Power should be supplied)

Or do you think it would make more sense if when I have selected my file the whole data would be displayed in my cell? (hope you know what I mean by that) and after that the link to my file will be displayed at the bottom of the cell?

I am open to new proposals for a solution to this whole stuff.

In the other columns the values are entered by hand.

After this I want to save the whole setup into an other txt-file.

Is it really necessary to this undocumented java tricks you are referring to? Because I've never learned how to use JAVA.

Direct link to this comment

You do not need Java, if you find another solution than hyper links in uitables.

Usually a uitable is used to display the contents of the file. But it is not clear yet, which data you want to display. E.g. why does the top left uitable cell contain the string 'User Defined'? What would be the purpose of the hyper link? Which function should be triggered by pressing it?