У меня очень простая таблица, использующая самые простые функции jQuery EasyUI, и она просто не сортируется для меня. Вот JSFiddlejQuery EasyUI datagrid: Сортировка по статическим данным не работает
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo.css">
<script src="http://www.jeasyui.com/easyui/jquery.min.js"></script>
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
</head>
<body>
<table class="easyui-datagrid" title="Unallocated Subnets" data-options="singleSelect:true">
<thead>
<tr>
<th data-options="field:'a',width:80,sortable:true">A</th>
<th data-options="field:'b',width:80,sortable:true">B</th>
<th data-options="field:'c',width:80,sortable:true">C</th>
<th data-options="field:'d',width:80,sortable:true">D</th>
</tr>
</thead>
<tbody>
<tr>
<td>a</td><td>a</td><td>a</td><td>a</td>
</tr>
<tr>
<td>b</td><td>b</td><td>b</td><td>b</td>
</tr>
</tbody>
</table>
</body>
Любая помощь очень ценится.
жаль я отредактирован неправильно пост я добавил эти свойства, я не предполагал, что я могу изменить чью-нибудь пост ... –