Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想手动打开 TablePage 上的搜索面板。我想知道如何在带有搜索表单的页面上打开它。
我正在寻找单击放大镜按钮的编程解决方案:
这可能吗,或者java-script打开这个面板?
如果您有一个大型数据集并希望用户在加载数据之前输入搜索条件,您可以设置getConfiguredSearchRequired为 true。这将在显示表格页面时自动打开搜索表单,并要求用户输入搜索条件。
getConfiguredSearchRequired
如果您只想以编程方式打开或关闭搜索表单,您可以使用getTable().getTableControl(SearchFormTableControl.class).setSelected(true/false);
getTable().getTableControl(SearchFormTableControl.class).setSelected(true/false);