koalyptus / TableFilter

A Javascript library making HTML tables filterable and a bit more :)
https://www.tablefilter.com
MIT License
323 stars 95 forks source link

refresh filters #770

Closed tito10047 closed 1 year ago

tito10047 commented 4 years ago

Hi,

For fist, congratulations for great library.

I have input area in column and custom cell_parser for extract value from that input for filtering. I need refresh selectbox filters after changed value in that input. It is possiible?

Im bought ezEditTable but there is same problem.

Thanks

koalyptus commented 4 years ago

Hi Thanks @tito10047, You might want to refresh the drop-down filter on input change in the cell:

var tf = new TableFilter(...);
...
var feature = tf.feature('dropdown');
feature.refreshAll();

Give it a try.

Cheers

SaiPrabhu611 commented 3 years ago

Hi Thanks @tito10047, You might want to refresh the drop-down filter on input change in the cell:

var tf = new TableFilter(...);
...
var feature = tf.feature('dropdown');
feature.refreshAll();

Give it a try.

Cheers

It's not working @koalyptus Please look into it, even it's the same issue am facing around

cjohnsonuk commented 3 years ago

Try looking at the linked_filters setting . this may be what you are looking for

There's an example here https://www.tablefilter.com/linked-filters.html

Chris Johnson

On Thu, 27 May 2021 at 08:36, Sai Prabhu Kalva @.***> wrote:

Hi Thanks @tito10047 https://github.com/tito10047, You might want to refresh the drop-down filter on input change in the cell:

var tf = new TableFilter(...); ...var feature = tf.feature('dropdown');feature.refreshAll();

Give it a try.

Cheers

It's not working @koalyptus https://github.com/koalyptus Please look into it, even it's the same issue am facing around

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/koalyptus/TableFilter/issues/770#issuecomment-849408836, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOSJIQKI5CIXBLVIZ4E4YLTPXY6LANCNFSM4LFFXNLQ .

SaiPrabhu611 commented 3 years ago

Try looking at the linked_filters setting . this may be what you are looking for There's an example here https://www.tablefilter.com/linked-filters.html Chris Johnson On Thu, 27 May 2021 at 08:36, Sai Prabhu Kalva @.***> wrote: Hi Thanks @tito10047 https://github.com/tito10047, You might want to refresh the drop-down filter on input change in the cell: var tf = new TableFilter(...); ...var feature = tf.feature('dropdown');feature.refreshAll(); Give it a try. Cheers It's not working @koalyptus https://github.com/koalyptus Please look into it, even it's the same issue am facing around — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#770 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOSJIQKI5CIXBLVIZ4E4YLTPXY6LANCNFSM4LFFXNLQ .

yes, it worked

oalders commented 1 year ago

I think this issue can be closed.