panel icon indicating copy to clipboard operation
panel copied to clipboard

Misc header filters issues

Open maximlt opened this issue 3 years ago • 3 comments

Follow-up on #2807

The 'autocomplete' filter doesn't actually filter the column. tabulator_filter_str1

If I switch to a dropdown filter (there should be an example of that :)), I can filter the column but I can't clear the filter. tabulator_filter_str2

It might be a limitation of Tabulator, I can't clear the Gender filter on their interactive demo: http://tabulator.info/examples/4.9?#filter-header

maximlt avatar Oct 15 '21 13:10 maximlt

I have also noticed that if a table has a frozen row, it gets filtered out, which I think defeats the purpose of freezing the row.

AntonBiryukovUofC avatar Feb 28 '22 23:02 AntonBiryukovUofC

I have also noticed that if a table has a frozen row, it gets filtered out, which I think defeats the purpose of freezing the row.

Thanks for reporting this but please provide a reproducible example with the exact version you are using.

philippjfr avatar Mar 01 '22 19:03 philippjfr

If I switch to a dropdown filter (there should be an example of that :)), I can filter the column but I can't clear the filter.

The list Tabulator editor has a clearable option that should allow to clear the selected value. However it doesn't seem to work currently, see https://github.com/olifolkerd/tabulator/issues/3907

maximlt avatar Sep 12 '22 12:09 maximlt

In a similar note the list type does not accept the mutiselect option.

table_filters = {
    "experiment_type": {"type": "list", "multiselect":"true"},
}


pn_table = pn.widgets.Tabulator(
    experiments_df[["experiment_type"]], 
    pagination="remote", 
    page_size=30, 
    sizing_mode="stretch_width", 
    header_filters=table_filters
)
pn_table.show()

image

dslemusp avatar Jul 25 '23 15:07 dslemusp

@dslemusp this will be documented in the next version of Panel (https://github.com/holoviz/panel/pull/5825), you need to see the multiselect filter with func set to 'in'.

maximlt avatar Nov 14 '23 14:11 maximlt

The first issue I reported in the original post appears to be fixed: Kapture 2023-11-14 at 17 02 49

I will open an issue for the second one as it is still an issue.

maximlt avatar Nov 14 '23 16:11 maximlt