I’m setting a minimalist workflow with an example on how to visualize a table using the Generic Java Script View node based on the DataTables library rendering. Unfortunately and for a reason I do not yet know, I believe the library is not recognized and I get the following error displayed on the debugging console of the Interactive View:
I tried it with the logic of these two examples - but couldn’t get it to work either
(but maybe I also did something wrong - maybe someone of the others are able to help )
But would also be interessted in a possible solution
Thanks a lot @AnotherFraudUser for your prompt answer and the links to other similar issues. I had a look at those and I neither could get it solved. Most probably, this problem just needs a right setting so the solution may not be very far from what the workflow is already achieving.
Other hints or possible solutions would be really welcome !
Hi Ael,
I am not sure yet why and how, but I got it to work
You need to add the following lines before the $${SdataTables}$$ line:
var define = null;
var module = null;
With this I disable certain loading mechanisms for JS packages, but according to some console.log() outputs, those should be undefined anyways. If a JS expert can shed some more light on this, I would be happy to hear the reason
Kind regards,
Alexander
It works, I love it ! Extremely thankful for your help ! There are things either you know or you can really get mad and old before guessing what is going on lol !
In your workflow, you have created (HTML Based) a generic table with table creator node and used in Generic JavaScript View node. I wonder that can I convert a knime data table into HTML format to use in GJV Node like you did?