Skip to main content

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

Thanks in Advance !!!


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


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


Thanks Matt for quick response!


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?


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.