# Problem with filtered datas from Tabulator

**URL:** <https://discourse.nodered.org/t/problem-with-filtered-datas-from-tabulator/82795>\
**Category:** General\
**Created:** [12 November 2023 10:09 UTC](https://discourse.nodered.org/t/problem-with-filtered-datas-from-tabulator/82795 "2023-11-12T10:09:31Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)\
**Post date:** [14 November 2023 11:46 UTC](https://discourse.nodered.org/t/problem-with-filtered-datas-from-tabulator/82795/13 "2023-11-14T11:46:05Z")

</div>

My suggestion is to first debug this via the browser's console. For me it works as expected

```auto
    grid.on("dataFiltering", function(filters){
        //filters - array of filters currently applied
        console.log(`Pre-filter event: ${filters.length} filters`);
        for (let i = 0 ; i < filters.length; i++)
            console.log(Object.entries(filters[i]));
    });
    grid.on("dataFiltered", function(filters, rows){
        //filters - array of filters currently applied
        //rows - array of row components that pass the filters
        console.log(`Post-filter event: ${rows.length} rows`);
        for (let i = 0 ; i < rows.length; i++)
            console.log(Object.entries(rows[i]));
    });

```

If the console output is OK, then the issue may be with the Node-red messaging.  
I noticed something which seems like a bug, where Node-red dashboard resends the last sent message upon page load.  
[Message sent once but received twice - Dashboard - Node-RED Forum (nodered.org)](https://discourse.nodered.org/t/message-sent-once-but-received-twice/82653)  
Maybe the output you are getting is from an older event?.

---

_[View the full topic](https://discourse.nodered.org/t/problem-with-filtered-datas-from-tabulator/82795)._
