移动端填报表编辑某一单元格后自动插入一行怎么实现

image.pngimage.png另外我在A3单元格复制赋值1,将图2的(1,0)替换成 ‘A3’,编辑某一单元格后,移动端并没有自动插入行

FineReport FRchenchen 发布于 5 小时前 (编辑于 4 小时前
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
0
华莉星宸Lv7资深互助
发布于5 小时前(编辑于 5 小时前

JS API接口汇总 https://help.fanruan.com/finereport/doc-view-4327.html

image.png

----------

也可参考

[通用]JS填报自定义一次插入固定行数 https://help.fanruan.com/finereport/doc-view-3677.html

最佳回答
0
snrtuemcLv8专家互助
发布于5 小时前

直接控件编辑后事件,写js

_g().appendReportRow(this.options.location, this.options.reportIndex,1);//插入指定行数

参考[通用]JS填报自定义一次插入固定行数 https://help.fanruan.com/finereport/doc-view-3677.html

  • FRchenchen FRchenchen(提问者) 我直接在编辑后添加这段JS后,移动端并没有自动插入行:
    _g().appendReportRow(this.options.location, this.options.reportIndex,1);
    2025-02-25 11:27 
  • snrtuemc snrtuemc 回复 FRchenchen(提问者) 你要加这个js的控件编辑才可以
    2025-02-25 11:28 
  • FRchenchen FRchenchen(提问者) 回复 snrtuemc 就是在控件-事件-编辑后 里面加的,移动端填写后没反应
    2025-02-25 11:31 
  • 3关注人数
  • 39浏览人数
  • 最后回答于:4 小时前
    请选择关闭问题的原因
    确定 取消
    返回顶部