如何添加此搜索图标
<m:MaterialLink iconType="SEARCH" ui:field="openSearch" iconColor="BLACK" float="RIGHT"/>
和此内联搜索
<incubator:search.ExpandableInlineSearch ui:field="txtSearch" theme="LIGHT" width="50%" placeholder="Search" display="INLINE"/>
在物料表标题中?
<mt:MaterialDataTable addStyleNames="{style.text-wrap}" ui:field="table"
height="calc(100vh - 151px)"
useStickyHeader="false"
useCategories="false"
useRowExpansion="false"
selectionType="NONE"/>
答案 0 :(得分:0)
是的,终于!太简单了。
您应该使用此:
@UiField
MaterialDataTable<MailNotificationDTO> table;
Panel panel = table.getScaffolding().getToolPanel();
panel.add(new MaterialIcon(IconType.SEARCH));'
与内联搜索相同