<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<table id="dg" class="easyui-datagrid" style="width:100%; height:auto;"
	data-options="
			toolbar: '#tb',
			border: false,
			singleSelect: true,
			pagination: true,
			pageSize: 20,
			rownumbers: true,
			striped: true,
			sortName: 'ID',
			sortOrder: 'asc',
			fit: true,
			fitColumns: true,
			idField: 'ID',
			method: 'POST'
		">
	<thead>
		<tr>
			<th data-options="field:'Name',sortable:true">
				菜单名称
			</th>
			<th data-options="field:'Icon',sortable:true">
				LOGO
			</th>
			<th data-options="field:'Sort',sortable:true">
				排序
			</th>
			<th data-options="field:'ActiveIndicator',sortable:true">
				启用
			</th>
		</tr>
	</thead>
</table>
<div id="tb">
	<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="$('#dg').datagrid('reload')">刷新</a>
	<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="">新增</a>
	<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="">编辑</a>
	<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="">删除</a>
</div>