# Javascript API method to refresh view (or menu button)

**URL:** <https://forums.knack.com/t/javascript-api-method-to-refresh-view-or-menu-button/6039>\
**Category:** Feature Requests\
**Created:** [October 21, 2016, 8:40am UTC](https://forums.knack.com/t/javascript-api-method-to-refresh-view-or-menu-button/6039 "2016-10-21T08:40:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndrewGrya27012](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@AndrewGrya27012](https://forums.knack.com/u/AndrewGrya27012)\
**Post date:** [October 21, 2016, 8:40am UTC](https://forums.knack.com/t/javascript-api-method-to-refresh-view-or-menu-button/6039/1 "2016-10-21T08:40:00Z")

</div>

Doing a full page refresh takes a lot of time - while doing a re-enter on current page (like doing `location.hash = location.hash + "#"`) is very much faster to re-load the view.

  

It would be very nice if there was an official way to refresh a view - like a "Refresh" menu button or a javascript API call to refresh like Knack.refresh\_view()

  

Current workarounds that I use:

  

1. if the page is simple login - creating a menu button that links to the same page does a view refresh

  

2. I do location.hash = location.hash + "#"; in javascript wherever else

  

But I would like to have an even faster refresh if possible, and official way to reload view

---

<div class="post-metadata">

**Author:** ![RobinB](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@RobinB](https://forums.knack.com/u/RobinB)\
**Post date:** [October 2, 2018, 2:02pm UTC](https://forums.knack.com/t/javascript-api-method-to-refresh-view-or-menu-button/6039/2 "2018-10-02T14:02:44Z")

</div>

I agree, we have many views which filter out certain records. It would be nice if the page would refresh after a record is edited in a way which disqualifies it from the filter.
