Tabulator table fails to display data when comma is entered in filter field despite successful backend response

I’m working with Tabulator to display data tables and getting information from my server. My backend accepts comma-separated values for filtering and works correctly. When I check the network tab, I can see that the server returns the proper data even when I add a comma to my filter.

Here’s what I’m seeing in the console:

Filter sent: {page: 1, size: 10, sort: [], category: 'electronics'}
Server response: {currentPage: 1, items: Array(10), totalPages: 15, totalItems: 142}

Filter sent: {page: 1, size: 10, sort: [], category: 'electronics,'}
Server response: {currentPage: 1, items: Array(10), totalPages: 15, totalItems: 142}

The backend processes both requests fine and sends back valid data, but the table becomes empty when I type a comma in the filter box. Has anyone run into this issue before?

hmm thats weird - if the backend is returning valid data with the comma, sounds like tabulator might be choking on the comma during rendering? are you doing any client-side processing of that server response before it hits the table? maybe check what tabulators actually recieving in the data array?

This behavior typically occurs when Tabulator interprets the comma as a delimiter for multiple filter values rather than treating it as part of a single filter string. The issue likely stems from how Tabulator processes the filter input internally before sending it to your backend. Even though your server handles the comma correctly, Tabulator may be splitting or sanitizing the response data based on the filter format. I encountered similar behavior when implementing custom filtering logic. Try setting the filterMode to “remote” explicitly in your table configuration and ensure your ajaxResponse function properly maps the server response structure. You might also want to implement custom header filtering that handles comma-containing values as literal strings rather than allowing Tabulator’s default parsing behavior to interfere with the data rendering process.

check your tabulator config - might be a parsing issue with the filter value itself. try escaping the comma or wrapping the filter value in quotes before sending to backend. also worth logging what tabulator gets back vs what actually renders to see where it breaks