quantopian / qgrid

An interactive grid for sorting, filtering, and editing DataFrames in Jupyter notebooks
Apache License 2.0
3.04k stars 422 forks source link

Filter for text data not worked #315

Open VolokzhaninVadim opened 4 years ago

VolokzhaninVadim commented 4 years ago

Environment

Uninstalled core extensions: @8080labs/qgrid qgrid

Description of Issue

I'm installed qgrid, but filters for string data not work. When I choose filter and start print text the field of filter is disappeared and do not filter rows. Check boxes for rows is work at the same time.

Reproduction Steps

import qgrid import pandas as pd df = pd.DataFrame({'test' : ['sdvg', 'svbsv', 'efgw']}) qgrid.show_grid(df)

What steps have you taken to resolve this already?

Installed and uninstalled qgrid, jupyterlab, jupyter widgets for different versions. Result is not reached.

Anything else?

... screen

ofirbit commented 4 years ago

This actually happens in all filters and caused by the fact the background of the filter is now invisible, so every time you click on the text box to insert your text it thinks you click outside the filter and closes it. I'm working on a pull request to fix that.

ofirbit commented 4 years ago

Found the bug and fixed it in this pull request - https://github.com/quantopian/qgrid/pull/318

Maintainers - can you please review and if it looks ok merge and release a new qgrid version? Thanks.

richardlin047 commented 3 years ago

This issue is also present for numerical filters and is not completely fixed with @ofirbit 's PR. Adding this commit(https://github.com/richardlin047/qgrid/commit/19e76a1227195c5a300c826ca38d5e52369ca780) along with the #318 should fix the numerical filter display issues too.