Hello,
In my workflow, the navigation buttons are at the bottom of the page:
I would like to be able to add a next button (doing the same action) in the middle of my page, between two data tables for example.
Is it possible ?
Thank you very much to the community
Steven.
ipazin
January 9, 2020, 3:25pm
2
Hi there @stevenferey ,
if I got you right do you mean to add them in this dialog so you can chose position?
And if I may ask what is the reason for it? Faster execution and simplicity or?
Br,
Ivan
Hi @ipazin ,
Yes, add them in this dialog for example.
The goal is to be able to customize the position of the buttons so that the sequence of pages is easier.
Thanks,
Steven.
Hi,
it might be possible to do this using the Text Output Widget . With that you can set the output to be HTML and embed a custom script triggering the “next”-button:
<button onclick="function() { document.querySelector('.knime-step-next-button').dispatchEvent(new Event('click')); }">Next</button>
I have not tried that, but it could work
Kind regards
Alexander
6 Likes
Hi @AlexanderFillbrunn ,
Thank you very much, it worked! I only had to exit the iframe with the following code:
<button onclick="parent.document.querySelector('.knime-step-next-button').dispatchEvent(new Event('click'));">Next</button>
Thanks,
Steven.
3 Likes
ipazin
January 14, 2020, 10:07am
6
Hi there @stevenferey ,
glad you made it. Just to add info that customizing the position of the buttons is planned for some future release.
Br,
Ivan
1 Like
system
Closed
January 21, 2020, 10:07am
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.