Title: How should I set up Multiple Toolbars and Pagination="true" ? Post by: correohs on February 08, 2013, 01:05:13 PM toolbar = " New Edit Remove "
tb1 = "Search Input" Attached are 2 images. option 1 and option 2 1) if I set toolbar="#toolbar, #tb1" I can see (2) both of them but Pagination at the bottom of the page 2) if I set toolbar="#toolbar" I can see the 1 toolbar and Pagination at the bottom of the page <table class="easyui-datagrid" id="dg" style="height:550px" title="Activities" url="get_te.php" toolbar="#toolbar, #tb1" pagination="true" rownumbers="true" fitColumns="true" singleSelect="true" sortable="true" data-options="rowStyler: function(index,row){ if (row.lo_act_id > 99){ return 'background-color:#900;color:#fff;font-weight:bold;'; } } " > Title: Re: How should I set up Multiple Toolbars and Pagination="true" ? Post by: correohs on February 08, 2013, 04:52:04 PM Reference:
http://www.jeasyui.com/tutorial/datagrid/datagrid19.php <div id="tb" style="padding:5px;height:auto"> <div style="margin-bottom:5px"> <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true"></a> <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true"></a> <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true"></a> <a href="#" class="easyui-linkbutton" iconCls="icon-cut" plain="true"></a> <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true"></a> </div> <div> Date From: <input class="easyui-datebox" style="width:80px"> To: <input class="easyui-datebox" style="width:80px"> Language: <input class="easyui-combobox" style="width:100px" url="data/combobox_data.json" valueField="id" textField="text"> <a href="#" class="easyui-linkbutton" iconCls="icon-search">Search</a> </div> </div> |