Thanks for the response @julian.bunzel
If I implement a table in Generic JS View Node, Is it possible that to allow any selection on this table like table editor or table view?
One last thing, Is there any suggestion for using external library in Generic JS?
it is possible but it would be a code-heavy implementation. However, it will be more straight-forward with the next KNIME version coming this summer.
I don’t really have a recommendation for an external library but D3.js could be worth checking out. I think there are some table visualizations next to other charts.
Another reference to have a look at would be the js code for the Table Viewer which can be found here.
I have tried to implement the code you mentioned in Generic JS Code, but nothing returns. Can you have any idea about tihs?
To bring a possible answer to this question:
I used a while ago a very good library for handling tables in JS called (DataTables). It would be nice if adopted by KNIME as the JS “table plugin”.
This is an example of its rendering:
It is quite straightforward to use and really extremely powerful. Definitely I recommend to adopt it.
Hope this helps.
I am not a java-based person, but I need to do this at a point in my project. So, can you show me an example flow or example Generic JS node to explain this process?
So an example of what you may need is available at the above link Generic Java Script View node.
In this workflow, the table is already provided in XML format using a “Table Creator” node for simplicity:
Let us know if you would need more help, should this be too complicated to implement, and I (or other takers) will be happy to complet this part of the work.
Hope this helps.
I’m replying here to your question in this other thread because the other one is solved.
This is the part of work I was mentioning when I said:
I’m not aware of a KNIME node which could do this directly : convert a table into the HTML format as in the above example. May be somebody could advice on this. Otherwise you would need to implement it using a few basic KNIME nodes.
If nobody suggests a straighforward solution, I will implement it.
Firstly, thank you for your answers.
I have added your workflow another datatable (from excel reader), and tried to show this table in your GJV Node, but throws and error
Test_Datatable.knar (163.1 KB)
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.