【发布时间】:2013-09-30 07:06:31
【问题描述】:
我正在使用增强型网格,我最近发现在对任何列进行排序时(通过单击标题的列名),如果该列的结果具有特殊字符(如"|,*/\-& 等...任何帮助将不胜感激。
这是我的代码:
<body>
<div style="width: 100%; height: 400px;">
<div dojoType="dojo.data.ItemFileReadStore"
jsId="appsStoreForGrid" data="storeData" typeMap="_typeMap">
</div>
<div id="grid" data-dojo-type="dojox.grid.EnhancedGrid"
data-dojo-props="store:appsStoreForGrid, structure:'layoutApps',
errorMessage:'No Data Found',
plugins: {
filter: { closeFilterbarButton: true, ruleCount: 5 },
pagination: { pageSizes: ['5', '25', '50', '100'],
description: true, sizeSwitch: true, pageStepper: true,
gotoButton: true, maxPageStep: 8, position: 'top'}}">
</div>
</div>
</body>
【问题讨论】:
-
请发表您目前所写的内容。
-
代码:-
-
你遇到什么样的错误?
-
我没有收到任何错误。但是在基于具有特殊字符和字母数字值的列之一进行排序时,其排序方式很奇怪。它在最初的 15-20 行工作正常,但再次被破坏,然后再工作到其余的行。
-
在没有看到实际结果的情况下很难说出“以奇怪的方式排序”是什么意思。请告诉我们。