Hello,
I have a little trouble with a record/list view that I need rendered on a specific condition from an event. The condition relies on a bool field wich is false by default. When triggered, the event will change the state of the bool field from false to true. In the view, based on the value of the field taken from this.collection.models[i].attributes.<field>, I change how that field is displayed in the list. The problem is I have to hit f5 or refresh the page to see the change and this.reRender() is not helping much although the database is updated on that event. How can I clear cache in the view? Or is there a function somewhere in the /src? Is there a way to extend something from the cache.js or controllers/base.js?
Thanks.
I have a little trouble with a record/list view that I need rendered on a specific condition from an event. The condition relies on a bool field wich is false by default. When triggered, the event will change the state of the bool field from false to true. In the view, based on the value of the field taken from this.collection.models[i].attributes.<field>, I change how that field is displayed in the list. The problem is I have to hit f5 or refresh the page to see the change and this.reRender() is not helping much although the database is updated on that event. How can I clear cache in the view? Or is there a function somewhere in the /src? Is there a way to extend something from the cache.js or controllers/base.js?
Thanks.
Comment