# Multiple Filter Panel from Button Click event to On Control Change

**URL:** <https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 9, 2024, 3:28pm UTC](https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735 "2024-09-09T15:28:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [September 9, 2024, 3:28pm UTC](https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735/1 "2024-09-09T15:28:46Z")

</div>

Hello!

I got a Panel with many controls to filter a table

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/f/ff32c0bea35234e9b2be1e9505569fea777d307c.png)

The filters are activated only with a Button "Filtrar" onClick event wich include the filter logic and the query.

Wich is a good way to activate this event automatically when I change any of the controls so I don´t need the button?

---

<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:** [September 9, 2024, 3:35pm UTC](https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735/2 "2024-09-09T15:35:33Z")

</div>

The first step is making sure the built-in filters are not enough for your needs. They're quite new, so maybe you won't have them yet if you're using an older version. You can activate them in the configuration for each column. They're quite powerful, so check them out before rolling your own filters.

If they're not what you need, or if your version is too old:

- make a custom property on your table and bind it to the full data.
- put a structure binding on your table's `props.data`, and add a reference to the custom prop holding the full data and each of your filters.
- browse the data and check each row against your filters.

I gave an example of this yesterday in another thread, I'll see if I can find it

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [September 9, 2024, 3:37pm UTC](https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735/3 "2024-09-09T15:37:08Z")

</div>

Thanks Pascal, looking forward to use the built-in-filters.

---

<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:** [September 9, 2024, 3:38pm UTC](https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735/4 "2024-09-09T15:38:33Z")

</div>

Here's the post from yesterday: [Perspective table header filter dropdowns - matching column widths - #23 by pascal.fragnoud](https://forum.inductiveautomation.com/t/perspective-table-header-filter-dropdowns-matching-column-widths/43045/23)

Note that I would have used the built-in filters for this project but it was developed on 8.1.17, which is too old for those.

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [September 9, 2024, 3:40pm UTC](https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735/5 "2024-09-09T15:40:03Z")

</div>

Ok thanks, you think is possible to use multiselection with the built-in-filters?

---

<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:** [September 9, 2024, 3:44pm UTC](https://forum.inductiveautomation.com/t/multiple-filter-panel-from-button-click-event-to-on-control-change/95735/6 "2024-09-09T15:44:57Z")

</div>

I have no idea, you'll have to try.
