首页 > 解决方案 > bryntum 调度程序 showCheckAll 不起作用

问题描述

配置代码:

columns: [
        {
            type  : 'check',
            //text: "selectionner tout",
            showCheckAll : true,
            listeners:{
                toggle:(source,record,checked)=>{console.log('################'+checked);},
                toggleAll:(source,record,checked)=>{console.log('################'+checked);}
            }
        },
.... }

标题中的复选框没有出现!我尝试使用 selectionMode 但它也不起作用

标签: vue.js

解决方案


在此处在 bryntum 编辑器上测试您的代码:https ://www.bryntum.com/examples/scheduler/basic/它工作正常: 所有列复选框

请检查您的项目中是否包含所有 bryntum 文件,包括 css 文件。

在本地环境中的这个示例上也进行了测试,它工作正常:https ://www.bryntum.com/examples/scheduler/vue/javascript/advanced/dist/index.html

以下是如何在项目中安装 Bryntum 调度程序的步骤:https ://www.bryntum.com/docs/scheduler/#guides/readme.md

在这里你可以看到与 vue 集成的步骤:https ://www.bryntum.com/docs/scheduler/#guides/integration/vue.md

在 Bryntum 论坛上,您可以找到有关以下内容的更多内容:https ://www.bryntum.com/forum


推荐阅读