Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 能否增加表头对于某个字段的搜索过滤功能 #607

Open
lesaa opened this issue Nov 23, 2023 · 7 comments
Open

[Feature] 能否增加表头对于某个字段的搜索过滤功能 #607

lesaa opened this issue Nov 23, 2023 · 7 comments
Assignees
Milestone

Comments

@lesaa
Copy link

lesaa commented Nov 23, 2023

What problem does this feature solve?

在表头上能否增加对于某个字段的搜索过滤功能?类似下面这种

What does the proposed API look like?

能否增加表头对于某个字段的搜索过滤功能

@lesaa
Copy link
Author

lesaa commented Nov 23, 2023

eg

@fangsmile
Copy link
Contributor

点击图标弹出的搜索框 可以自定义通过事件监听来弹。我们可以增加接口支持搜索内容,请问具体搜索后是过滤还是高亮匹配文字 @lesaa

@lesaa
Copy link
Author

lesaa commented Nov 23, 2023

过滤出想要的数据,如下图
eg2

@nikoohp
Copy link
Contributor

nikoohp commented Nov 23, 2023

@fangsmile 确实需要一个搜索接口来过滤或者高亮,因为 dom 表格可以用浏览器的 Ctrl+F 搜索,用 canvas 后就不能用了

@xiaofeihe
Copy link

点击图标弹出的搜索框 可以自定义通过事件监听来弹。我们可以增加接口支持搜索内容,请问具体搜索后是过滤还是高亮匹配文字 @lesaa

我也很需要这个功能, 我感觉 搜索后 过滤比较好。

@since911
Copy link

这个可以自己封装的,我已经实现了

@gdfetemplate
Copy link

这个可以自己封装的,我已经实现了
你怎么实现的?方便抄一下作业吗?

@fangsmile fangsmile self-assigned this Jan 5, 2024
@fangsmile fangsmile added this to the 0.18.0 milestone Jan 5, 2024
fangsmile added a commit that referenced this issue Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

6 participants