bhaveshpatel200 / vue3-datatable

vue3-datatable is a powerful component for creating dynamic and customizable data tables. It supports large amounts of data, sorting, pagination, and filtering and highly customizable
MIT License
123 stars 18 forks source link

Search on customized cell elements not working #13

Open Oybekuz opened 10 months ago

Oybekuz commented 10 months ago

client side search not working when elements are customized

search by status on this page to reproduce: https://vristo-vue.vercel.app/datatables/multiple-tables for example "PAID"

bhaveshpatel200 commented 10 months ago

Hi Oybekuz,

Yes, currently search will work on db columns names which you added in columns array. This is not issue but I will think about this features in new future release.

image

ThomasKoscheck commented 5 months ago

Hi @bhaveshpatel200,

I guess he meant, that if you dynamically change the value, the column not searchable anymore.

Example:

 {
    field: 'id',
    cellRenderer: d => '#' + d.id,
    title: 'Id',
    filter: true,
    sort: true,
  }

and you search via global or column search, the row is not returned. Even if you search for d.id instead of #d.id