# Remove filter and show all row in power table when refresh power table

**URL:** <https://forum.inductiveautomation.com/t/remove-filter-and-show-all-row-in-power-table-when-refresh-power-table/75267>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [June 20, 2023, 1:03pm UTC](https://forum.inductiveautomation.com/t/remove-filter-and-show-all-row-in-power-table-when-refresh-power-table/75267 "2023-06-20T13:03:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 20, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/remove-filter-and-show-all-row-in-power-table-when-refresh-power-table/75267/2 "2023-06-20T13:24:27Z")

</div>

> [@Programmatically-applied PowerTable Filters](https://forum.inductiveautomation.com/t/programmatically-applied-powertable-filters/15495/2):
>
> model = self.getTable().getModel().getActualModel() from com.jidesoft.grid import SingleValueFilter class newFilter(SingleValueFilter): def isValueFiltered(self, value): return True if value == target.data.getValueAt(row, 4) else False model.addFilter(3, newFilter()) model.setFiltersApplied(True) model.refresh() I’ve used this code before to successfully apply a filter (shows the filter icon in the table header correctly), and it also allows it to be removed by select…

---

_[View the full topic](https://forum.inductiveautomation.com/t/remove-filter-and-show-all-row-in-power-table-when-refresh-power-table/75267)._
