团队,
有人知道禁用复选框列上的水平滚动吗 保持固定,其他列的滚动正常工作。
我试过了
bodyStyle:'overflowY: auto',
autoScroll:false,
setAutoScroll:false,
在特定的 checkboxSelectionModel 上并尝试覆盖属性,但它不起作用。
我正在使用 ExtJs 4.0
示例:http://2.bp.blogspot.com/-a7A-q_ni5v0/UrLau_s2bWI/AAAAAAAAAC8/GLKj4FJVZ5E/s1600/chkbox_grid1.PNG
看到这张图片,我正在谈论复选框列,并且在该注释上,我删除了该特定列上的滚动属性。
最佳答案
我想这就是你要找的
lockable: If the grid is configured with enableLocking, or has columns which are configured with a locked value, this option may be used to disable user-driven locking or unlocking of this column. This column will remain in the side into which its own locked configuration placed it.
locked: True to lock this column in place. Implicitly enables locking on the grid. See also Ext.grid.Panel.enableLocking.
文档链接:Ext 5.0
这是一个示例:http://dev.sencha.com/deploy/ext-4.0.0/examples/grid/locking-grid.html
关于extjs - 修复了 EXTJS 面板中的复选框列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29939869/