//用户 查询
$("#searchUser").searchbox("options").searcher = function(value){
$("#shareDataGrid").datagrid("commonQuery", {
queryFields : [{
fieldName : "[shareFileType,messageName]",
fieldStringValue : value,
operator : "ilikeAnywhere"
}]
});
};
<input id="searchUser" style="margin:10px 0 0 20px;" class="easyui-searchbox" prompt="文件名、文件类型"/>
<table id="shareDataGrid" class="easyui-datagrid" striped ="true" rownumbers="false" checkbox="false" singleSelect="true" queryType="ShreselectQuery" orderby="createTime"fit="true" border="false" paramForm='searchUser'>
<!-- 表头 -->
<thead>
<th field=shareFileType title='文件类型' formatter="myShareFileTypeToImg"></th>
<th field="messageName" title='文件名'></th>
<th field="shareIfKey" title='是否密钥'></th>
<th field="shareKey" title='密钥'></th>
<th field="shareMan" title='分享人' codeType="ALL_USER"></th>
<th field="createTime" title='分享时间'></th>
<th field="shareId" title='' formatter="myShareTo"></th>
</thead>
</table>