Skip to main content
Nintex Community Menu Bar
Question

How to re-query model on onClick javascript ------ NEED URGENT HELP


Forum|alt.badge.img+4

Can someone provide sample code to show how to re-query models on onclick javascript inside template field.

Thanks in Advance !!!


This topic has been closed for comments

Forum|alt.badge.img+13

See the Model API’s: http://help.skuid.com/m/11720/l/205447-skuid-model-model

Something like this should work assuming your Model’s name is “MyModelName”:

Refresh Data


Forum|alt.badge.img+18

https://developer.skuid.com/latest/en/api/skuid_model.html#skuid.model.updateData


Forum|alt.badge.img+4

Thanks Matt for quick response!


Forum|alt.badge.img+4

Hi Zach ,

Thank you for quick respose!! It worked!!!

Is there a way to re-render or reload tabs from onClick javascript written inside template field?


Forum|alt.badge.img+13

Tab Contents should be re-rendered as appropriate automatically using Conditional Rendering. Tabs should not need to be forcibly re-rendered, their contents should update themselves as appropriate in response to Model events.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings