【问题标题】:Make columns non-hideable in jqGrid使列在 jqGrid 中不可隐藏
【发布时间】:2011-08-31 08:01:17
【问题描述】:

我想让一些列不可隐藏,也许是不可移动的。我在 trirand.com 和 SO 上看到了使列在水平滚动下不可移动的有争议的解决方案(例如 http://www.trirand.com/blog/?page_id=393/feature-request/Lock%20Columns/),但我还没有看到使列不可隐藏的解决方案。

有没有办法让人们隐藏和显示列,而不是某些特定的列?

【问题讨论】:

    标签: javascript jquery configuration datagrid jqgrid


    【解决方案1】:

    大概colModel中的hidedlg:true属性可以解决问题吧?

    【讨论】:

    • 对,这看起来正是他所要求的:If set to true this column will not appear in the modal dialog where users can choose which columns to show or hide.
    猜你喜欢
    • 2010-12-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-09
    • 1970-01-01
    相关资源
    最近更新 更多