Skip to content

TableColumn.Editable=false时列在表格中不可见 #3321

@SteelTeng

Description

@SteelTeng

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

8.4.1版本开始
Table组件中,把TableColumn.Editable设置为false会造成该列在表格中不显示

Expected Behavior

在8.4.0及之前版本中,TableColumn.Editable只会影响新增和编辑对话框中的列可见性,不会影响表格中的列可见性
不知是否修改了Editable的作用范围,如果没有则希望修复此Bug。

Steps To Reproduce

https://github.com/[SteelTeng/bb-demo-github

TableDemo.razor中
`<TableColumn @bind-Field="@context.Name" Text="姓名-Editable=true" Editable="true" />

<TableColumn @bind-Field="@context.Address" Text="地址-Editable=false" Editable="false" />`
正常情况下该2列都应该在表格中显示,但是实际上地址列并不会显示

Exceptions (if any)

No response

.NET Version

8.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