Easyui datagrid toolbar 模板
<div id="DataGridEmployeeToolBar" border="false" style="border-bottom: 1px solid #ddd; height: 32px; padding: 2px 5px; background: #fafafa;"> <div style="float: left;"> <a href="#" class="easyui-linkbutton" plain="true" icon="icon-add" onclick=" OpendlgEditEmployee('', '')">添加</a> </div> <div class="datagrid-btn-separator"></div> <div style="float: left;"> <a href="#" class="easyui-linkbutton" plain="true" icon="icon-edit" onclick=" OpendlgEditEmployee('ModifyEmployee', $('#DataGridEmployee').datagrid('getSelected').id)">修改</a> </div> <div class="datagrid-btn-separator"></div> <div style="float: left;"> <a href="#" class="easyui-linkbutton" plain="true" icon="icon-remove" onclick=" DeleteEmployee()">删除</a> </div> <div class="datagrid-btn-separator"></div> <div style="float: left;"> <a href="#" class="easyui-linkbutton" plain="true" icon="icon-application_view_icons" onclick=" GetAllEmployeeList()">显示所有</a> </div> <div class="datagrid-btn-separator"></div> <div style="float: left;padding:2px"> <input class="easyui-searchbox" data-options="prompt:'请输入姓名',searcher:SearchByRealName" style="width: 150px"></input> </div> </div>