NatTable

编程入门 行业动态 更新时间:2024-10-25 18:23:00
NatTable - Excel中的快速搜索过滤器(NatTable - Quick Search in the Excel like filters)

我有一个NatTable网格,并使用类似过滤器的excel来过滤我的内容。 但是,我想在过滤器中添加一个功能作为快速搜索(与excel不同)

谁能给我建议我怎么做?

我注意到其他nattable过滤器FilterRowHeaderComposite有一个文本框过滤器,用于过滤包含类型字符串的单词,所以我想知道我是否能以某种方式将它与ComboBoxFilterRowHeaderComposite结合起来,以获得具有快速搜索功能的组合框。

我可以有两个标题图层,一个是组合框,另一个是文本框?

或者也可以将它们组合在一个单元格中,就像常规过滤器一样工作,只有当我按下过滤器图标才能扩展到组合框上下文菜单中?

或者在NatTable 1.2.0或1.3.0中是否已经实现了我正在尝试的这项功能? (我目前正在使用1.1.1)

I have a NatTable grid and use excel like filters in order to filter my content. However, I want to add a feature to the filters as a quick search (not unlike the excel one)

Can anyone give me advice on how I might do that?

I've noticed that the other nattable filter FilterRowHeaderComposite has a textbox filter for filtering words that contain the typed string, so I wonder if I could somehow combine it with the ComboBoxFilterRowHeaderComposite to get a combobox with a quick-search feature.

Can I have two header layers, one with comboboxes and the other with the textbox?

Or maybe combine them in one cell as to work like the regular filter and only when I press on the filter icon to expand into the comboboxes context menu?

Or are there already implementations for this feature I'm trying to do, in NatTable 1.2.0 or 1.3.0? (I'm currently using 1.1.1)

最满意答案

正如您已经注意到的那样,NatTable问题通常会在Eclipse论坛中获得更多关注。

对于有同样问题的其他人,我在那里回答了这个问题: https : //www.eclipse.org/forums/index.php?t = msg&th = 1070518&goto = 1709109&#msg_1709109

NatTable questions typically get more attention in the Eclipse forum as you already noticed.

For others having the same question, I answered the question there: https://www.eclipse.org/forums/index.php?t=msg&th=1070518&goto=1709109&#msg_1709109

更多推荐

本文发布于:2023-08-04 02:25:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1408802.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:NatTable

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!