1.对于中文排序可以直接读取数据库中的数据排序,例如按中文笔画排序
sortInfo : {
field : 'ZYZS'
//direction : "ASC"
},
remoteSort:true,
2.gridpanel中getColumnModel动态的显示/隐藏某个列
<code><span class="pln">myGrid</span><span class="pun">.</span><span class="pln">getColumnModel</span><span class="pun">().</span><span class="pln">setHidden</span><span class="pun">(i</span><span class="pun">,</span><span class="kwd">true</span><span class="pun">);</span></code>