# Query handling in flex repeater

**URL:** <https://forum.inductiveautomation.com/t/query-handling-in-flex-repeater/99673>\
**Category:** Ignition\
**Created:** [December 11, 2024, 5:28am UTC](https://forum.inductiveautomation.com/t/query-handling-in-flex-repeater/99673 "2024-12-11T05:28:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sudhanthiralakshmi\_M](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Sudhanthiralakshmi\_M](https://forum.inductiveautomation.com/u/Sudhanthiralakshmi_M)\
**Post date:** [December 11, 2024, 5:28am UTC](https://forum.inductiveautomation.com/t/query-handling-in-flex-repeater/99673/1 "2024-12-11T05:28:50Z")

</div>

I have a named Query that returns the o/p in Dataset format with 19rows and 6 columns i need to use flex repeater to show each row value in repeater Instances. where i need to bind the Query, based on the understanding, if we want to use flex repeater we require two views - template and main view, in this case if we want to use query, where we need to bind the Query

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 11, 2024, 6:20am UTC](https://forum.inductiveautomation.com/t/query-handling-in-flex-repeater/99673/2 "2024-12-11T06:20:48Z")

</div>

> [@Sudhanthiralakshmi\_M](#):
>
> flex repeater w

The flex repeater needs its `props.instances` property configured which will contain the params to pass into the template view within lists of objects. There are a few ways to do it, but the most direct is to bind your query to this and transform the output if required to produce the list of objects (dicts). Make sure you set the output of the query to JSON

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [December 11, 2024, 7:58am UTC](https://forum.inductiveautomation.com/t/query-handling-in-flex-repeater/99673/3 "2024-12-11T07:58:40Z")

</div>

Any reason you're not using a table ?
