vincjo / svelte-simple-datatables

A Datatable component for Svelte

Home Page:https://vincjo.fr/svelte-simple-datatables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table version 3.29.7 filter & search function doesn't work.

pangweisan opened this issue · comments

Hi Vincjo,

It seemed the app version 3.29.7 made some changes to accommodate multiple datatables included in one web page ?
I saw 2 problems.
(1) The on:click event listener for the filter header cell does not provide the 3rd parameter, which is the id of the datatable, the 3rd parameter was added in columns.filter function.

(2) In columns.filter, the pageNumber.set function is missing the second parameter, which is also the id of the datatable.

This problem should have been resolved in the latest version.