1. <tfoot id='fy3zM'></tfoot>
    2. <i id='fy3zM'><tr id='fy3zM'><dt id='fy3zM'><q id='fy3zM'><span id='fy3zM'><b id='fy3zM'><form id='fy3zM'><ins id='fy3zM'></ins><ul id='fy3zM'></ul><sub id='fy3zM'></sub></form><legend id='fy3zM'></legend><bdo id='fy3zM'><pre id='fy3zM'><center id='fy3zM'></center></pre></bdo></b><th id='fy3zM'></th></span></q></dt></tr></i><div id='fy3zM'><tfoot id='fy3zM'></tfoot><dl id='fy3zM'><fieldset id='fy3zM'></fieldset></dl></div>

      <legend id='fy3zM'><style id='fy3zM'><dir id='fy3zM'><q id='fy3zM'></q></dir></style></legend>

          <bdo id='fy3zM'></bdo><ul id='fy3zM'></ul>

        <small id='fy3zM'></small><noframes id='fy3zM'>

        是否可以隐藏或操作 jqGrid“排序"?图标?

        Is it possible to hide or manipulate the jqGrid quot;sortquot; icons?(是否可以隐藏或操作 jqGrid“排序?图标?)
        • <bdo id='PgLx4'></bdo><ul id='PgLx4'></ul>
        • <legend id='PgLx4'><style id='PgLx4'><dir id='PgLx4'><q id='PgLx4'></q></dir></style></legend>
        • <i id='PgLx4'><tr id='PgLx4'><dt id='PgLx4'><q id='PgLx4'><span id='PgLx4'><b id='PgLx4'><form id='PgLx4'><ins id='PgLx4'></ins><ul id='PgLx4'></ul><sub id='PgLx4'></sub></form><legend id='PgLx4'></legend><bdo id='PgLx4'><pre id='PgLx4'><center id='PgLx4'></center></pre></bdo></b><th id='PgLx4'></th></span></q></dt></tr></i><div id='PgLx4'><tfoot id='PgLx4'></tfoot><dl id='PgLx4'><fieldset id='PgLx4'></fieldset></dl></div>

                <tbody id='PgLx4'></tbody>

                <tfoot id='PgLx4'></tfoot>
              1. <small id='PgLx4'></small><noframes id='PgLx4'>

                1. 本文介绍了是否可以隐藏或操作 jqGrid“排序"?图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我通过 onSortCol 事件将自定义的多列排序附加到我的 jqGrid 实例:

                  I have a custom, multi-column sort attached to my jqGrid instance by means of the onSortCol event:

                  onSortCol: function(index, iCol, sortorder) {
                      //Manipulate the sort order via custom code, and store it in postData.
                  
                      return 'stop';
                  }
                  

                  我遇到的问题是列标题中的排序图标与实际排序不同步,因为它们的行为与我尝试实现的行为略有不同.

                  The problem I'm running into is that the sort icons in the column headers are falling out of synch with the actual sorting, because their behavior is slightly different from what I'm trying to implement.

                  我尝试过使用 setParam('sortname'...),但这并没有特别改变排序图标.我也尝试过 sortGrid,但这引发 onSortCol 事件的方式似乎与用户的点击无法区分.

                  I've tried using setParam('sortname'...), but that specifically doesn't change the sort icon. I've also tried sortGrid, but that raises the onSortCol event in a way that seems to be indistinguishable from a user's click.

                  如果通过 CSS 隐藏是唯一的选择,那么仅针对特定网格中的排序标题的最有效选择器是什么?

                  If hiding via CSS is the only option, what's the most effective selector to target ONLY the sort headers in a specific grid?

                  推荐答案

                  我目前使用的CSS如下:

                  I am currently using the following CSS:

                  #gbox_MyGrid .s-ico span {
                      display:none;
                  }
                  

                  对于 ID 为 MyGrid 的网格.

                  For a grid with an ID of MyGrid.

                  这篇关于是否可以隐藏或操作 jqGrid“排序"?图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Pause youtube video, youtube api(暂停 youtube 视频,youtube api)
                  Youtube iframe api not triggering onYouTubeIframeAPIReady(Youtube iframe api 未触发 onYouTubeIframeAPIReady)
                  How can I stop a video with Javascript in Youtube?(如何在 Youtube 中停止使用 Javascript 的视频?)
                  How to call Greasemonkey#39;s GM_ functions from code that must run in the target page scope?(如何从必须在目标页面范围内运行的代码中调用 Greasemonkey 的 GM_ 函数?)
                  How do you mute an embedded Youtube player?(如何使嵌入式 Youtube 播放器静音?)
                  How to get number of video views with YouTube API?(如何使用 YouTube API 获取视频观看次数?)

                  <small id='KLNbt'></small><noframes id='KLNbt'>

                  • <legend id='KLNbt'><style id='KLNbt'><dir id='KLNbt'><q id='KLNbt'></q></dir></style></legend>
                    <i id='KLNbt'><tr id='KLNbt'><dt id='KLNbt'><q id='KLNbt'><span id='KLNbt'><b id='KLNbt'><form id='KLNbt'><ins id='KLNbt'></ins><ul id='KLNbt'></ul><sub id='KLNbt'></sub></form><legend id='KLNbt'></legend><bdo id='KLNbt'><pre id='KLNbt'><center id='KLNbt'></center></pre></bdo></b><th id='KLNbt'></th></span></q></dt></tr></i><div id='KLNbt'><tfoot id='KLNbt'></tfoot><dl id='KLNbt'><fieldset id='KLNbt'></fieldset></dl></div>
                      <tbody id='KLNbt'></tbody>

                      1. <tfoot id='KLNbt'></tfoot>
                          <bdo id='KLNbt'></bdo><ul id='KLNbt'></ul>