Skip to content

bug(Table): 表格控件自定义的编辑按钮失效 #6089

@bgycn

Description

@bgycn

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

将 ShowExtendEditButton 设为 false 时,自定义按钮调用表格控件的EditAsync方法会提示“选项不可编辑”,在之前的版本当中不会发生这个问题,查阅代码发现是2025/5/8的版本更改导致这个问题,目前没有办法绕开这个逻辑来实现自定义编辑按钮或者外部调用编辑
Image

Expected Behavior

可以通过某种方式允许自定义表格的编辑按钮或者操作

Interactive render mode

Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)

Steps To Reproduce

1.放置一个表格Table控件
2.设置 ShowExtendEditButton=false
3.编写代码设置 SelectedRows 选中某行
4.调用 table.EditAsync()
5.提示“选项不可编辑”

Exceptions (if any)

No response

.NET Version

NET9.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions