Table 组件的 ShowSearchButton 设置为 false 仍然显示搜索按钮 #3489
-
Is there an existing issue for this?
Describe the bug使用Table组件时,如果设置ShowSearchButton = false,仍然会显示出“搜索”按钮。 Expected Behavior不应该显示出搜索按钮 Steps To Reproduce用于重现的项目:https://github.com/tony26050369/BBIssues/ 我想简单解释一下为什么我们需要隐藏这个搜索按钮。因为我们的搜索条件比较麻烦,所以把搜索条件都放了SearchTemplate中,用户需要点击“高级搜索”进行查询,同时设置了ShowSearchText="false",所以单独的这个搜索按钮是没有任何作用的。 Exceptions (if any)No response .NET Version8 Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
@tony26050369 Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@ArgoZhang Hi, Argo, 抱歉,我没有把我的问题讲清楚。 我想问一下,在搜索栏中,如何只保留“高级搜索”按钮,将其他的按钮隐藏掉?如下图。以前在8.2.版本中,只需要设置ShowSearchButton="false",就可以把这三个按钮隐藏掉。从8.3版本之后,就不行了。谢谢! |
Beta Was this translation helpful? Give feedback.
临时发了一个包
8.5.8-beta01
ShowSearchText="false"
时那个搜索按钮也一起不显示,跟8.2.0
行为一致,但是你这样用功能是少了一个啊举例:用户设置了高级搜索条件,点击高级搜索弹窗中的搜索按钮,返回表格,表格显示数据。其他同事有数据操作,此时需要重新搜索,用户只能重新点开高级搜索弹窗,再次点击弹窗中的搜索按钮,才可以获得新数据,非常繁琐