怎么将复选框内的“全选/不选”选项去掉

image.png

FineReport 就TM你叫夏洛啊 发布于 2021-3-9 13:10
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
1
snrtuemcLv8专家互助
发布于2021-3-9 13:11

选择下拉复选框,然后选择事件,添加一个初始化事件,写一下js语句。

$.extend(FR.CheckBoxEditor.prototype,{

initControlPane:function(){

this.$controlPane = $("").addClass('fr-checkbox-control').css('display',"none");

}

}); 

或者

$.extend(FR.CheckBoxEditor.prototype,{

initControlPane:function(){

this.$controlPane = $("<div style='padding-right:20px'>").addClass('fr-checkbox-control').css('display',"none");

}

});

  • 2关注人数
  • 408浏览人数
  • 最后回答于:2021-3-9 13:11
    请选择关闭问题的原因
    确定 取消
    返回顶部