# Template repeater not refresh

**URL:** <https://forum.inductiveautomation.com/t/template-repeater-not-refresh/71452>\
**Category:** Ignition\
**Tags:** vision, ignition81, scripting, database\
**Created:** [March 22, 2023, 6:09pm UTC](https://forum.inductiveautomation.com/t/template-repeater-not-refresh/71452 "2023-03-22T18:09:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka.Khandge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/priyanka.khandge/32/35989_2.png) [@Priyanka.Khandge](https://forum.inductiveautomation.com/u/Priyanka.Khandge)\
**Post date:** [March 22, 2023, 6:09pm UTC](https://forum.inductiveautomation.com/t/template-repeater-not-refresh/71452/1 "2023-03-22T18:09:03Z")

</div>

Hi guys,

In my case created a template repeater using a dataset. this dataset got from dropdown property change action. Template repeater data refresh when changing dropdown selected value. when I delete or insert a row from the template repeater button click then not refresh the dataset in the template repeater.

Any idea how to refresh the automatic dropdown property change?

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 22, 2023, 7:25pm UTC](https://forum.inductiveautomation.com/t/template-repeater-not-refresh/71452/2 "2023-03-22T19:25:39Z")

</div>

I'm afraid it is not clear to me what you are asking. It seems that you are generating your template instances within the repeater from a dataset, and that your template includes a dropdown. Are you wanting to make changes to the template repeater dataset using a template instance's dropdown from within the repeater?

If so, the key is identifying how many layers up you must go to get to the template repeater. It's usually about five layers up, so your template event handler will have to call it in the following manner: `event.source.parent.parent.parent.parent.parent`.

This post will guide you on how the templates are nested within the template repeater:

> [@CheckBox Template repeater](https://forum.inductiveautomation.com/t/checkbox-template-repeater/65832/22):
>
> I corrected the code above. Here is the complete breakdown from the button all the way to the root container: #event.source = PMIRadioButton #event.source.parent = Template #event.source.parent.parent = TemplateRepeater$VerticalView #event.source.parent.parent.parent = JViewport #event.source.parent.parent.parent.parent = JideScrollPane #event.source.parent.parent.parent.parent.parent = TemplateRepeater ###This is the one that has your custom property #event.source.parent.parent.parent.parent…

---

<div class="post-metadata">

**Author:** ![Priyanka.Khandge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/priyanka.khandge/32/35989_2.png) [@Priyanka.Khandge](https://forum.inductiveautomation.com/u/Priyanka.Khandge)\
**Post date:** [March 23, 2023, 5:20am UTC](https://forum.inductiveautomation.com/t/template-repeater-not-refresh/71452/3 "2023-03-23T05:20:35Z")

</div>

@justinedwards.jle Thank you for your response.

solved my problem.
