复选框怎么去掉“全选/全部选”这东西?

image.png

FineReport KevinOne 发布于 2020-11-25 19:23
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共3回答
最佳回答
0
snrtuemcLv8专家互助
发布于2020-11-26 08:01

选择下拉复选框,然后选择事件,添加一个初始化事件,写一下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");

}

});


最佳回答
0
唱跳rap全能选手Lv7中级互助
发布于2020-11-25 19:35(编辑于 2020-11-25 19:45)

写一个初始化事件

$(".x-text.fr-widget-click.fr-checkbox-checkoff").eq(0).css("display","none")


最佳回答
0
luojian0323Lv7资深互助
发布于2020-11-26 08:57

下拉复选框,编辑前事件:

$(".x-text.fr-widget-click.fr-checkbox-checkon").eq(0).css("display","none")


  • 4关注人数
  • 493浏览人数
  • 最后回答于:2020-11-26 08:57
    请选择关闭问题的原因
    确定 取消
    返回顶部