Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basicTable中editRule使用问题 #7136

Closed
havenothingtosay opened this issue Aug 29, 2024 · 2 comments
Closed

basicTable中editRule使用问题 #7136

havenothingtosay opened this issue Aug 29, 2024 · 2 comments

Comments

@havenothingtosay
Copy link

havenothingtosay commented Aug 29, 2024

版本号:

3.6.3

问题描述:
  1. basicTable中editRule写的函数,如果返回promise,单元格上会不显示错误提示的tooltip。如果返回string类型的错误信息,单元格上tooltip可以显示,但是调用onValid()拿不到错误信息,只能拿到false
  2. 单元格上的tooltip提示,如果表格有滚动条,会不跟着单元格滚动
    image
  3. editComponentProps中如何获取当前行数据record?有些属性比如disabled需要根据其他值来判断
错误截图:

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

zy

@1298191366
Copy link

1298191366 commented Sep 19, 2024

问题2已修复,参考代码,在EditableCell.vue页面 将tootip指向ant-table-body
image

问题1、3不支持,如果想使用禁用,您可以使用JvxeTable行编辑
image
参考文档:https://help.jeecg.com/component/JVxeTable.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants