vue.js - 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 但它也不起作用
解决方案
在此处在 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
推荐阅读
- bash - pqsub 作业提交中用户定义的输出文件名
- javascript - 无法在第 16 行静态分析 'require(..., ...)'
- php - Codeigniter 调用 bool 上的成员函数 row()
- twincat - 是否有全局常量指定 twincat3 中的整数范围?
- c# - 过滤作为字典值的列表
- swagger - 来自 http 的 openapi-generator-maven-plugin 代码生成
- python - 列表未在 for 循环中重置
- sql - PLS-00201:必须声明标识符“DBMS_OBFUSCATION_TOOLKIT.DESENCRYPT”
- java - 无法检测到光标移动和按钮单击滞后的原因
- java - 解决 RuntimeError: PaDEL-Descriptor 遇到错误: Picked up JAVA_TOOL_OPTION in Heroku