We run our knack app in a chrome window without an URL or other browser function buttons but I would like a refresh button.
Does anybody know / willing to share how to add a refresh button on the knack pages through CSS/Java?
Thanks
Roger
We run our knack app in a chrome window without an URL or other browser function buttons but I would like a refresh button.
Does anybody know / willing to share how to add a refresh button on the knack pages through CSS/Java?
Thanks
Roger
I'm trying to figure out how to do something similar to this too (and trying to learn javascript at the same time)
I haven't gotten around to try this.. but I think if we piece these 2 info together.. it might work.. maybe?
1. To create the button
Extracted from: https://support.knack.com/hc/en-us/community/posts/220715468-Add-Next-Previous-buttons-in-Details-view
//view_YY is the view that is the 'view more detail' from the table $(document).on('knack-view-render.view_YY', function (event, view,data) {var button_next = document.createElement("button"); button_next.innerHTML = "Next"; var button_prev =document.createElement("button"); button_prev.innerHTML = "Previous"; //Place Buttons somewhere var body = document.getElementById(view.key); body.appendChild(button_next) body.appendChild(button_prev)<br><br>//see original forum post for rest of the code</pre>
2. To refresh the page
https://stackoverflow.com/questions/3715047/how-to-reload-a-page-using-javascript
Hope that helps