用例
以<div> 為標記創建query打開的windows. 使用 <input> 定義查詢的Column,grid所在class為easyui-window.
<!-- 查詢div --> <div id="query" class="easyui-window" title="查詢" style="padding: 10px; width: 360px; height: 100px;" iconcls="icon-search" closed="true" maximizable="false" minimizable="false" collapsible="false"> <div> <table> <tr> <td> <td nowrap="nowrap">客戶編號</td> <td> <input type="text" infolight-options="field:'CustomerID',condition:'=',dataType:'string'" id="CustomerID_Query" /></td> </td> </tr> <tr> <td> <a class="easyui-linkbutton" iconcls="icon-search" href="javascript:void(0);" onclick="query('#dg')">Query</a> </td> </tr> </table> </div> </div> |
Related Topics