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>

  

posted @ 2016-07-01 21:50  六芒兔工业物联  阅读(1331)  评论(0编辑  收藏  举报