Skip to main content
Nintex Community Menu Bar
Question

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

  • July 10, 2024
  • 5 replies
  • 40 views

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 replies.

5 replies

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

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.