We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387f70c commit 96adaf1Copy full SHA for 96adaf1
test/UnitTest/Components/TableTest.cs
@@ -6205,6 +6205,22 @@ public async Task DynamicContext_Add()
6205
await cut.InvokeAsync(() => delete.Instance.OnConfirm());
6206
}
6207
6208
+ [Fact]
6209
+ public void TableColumn_SupportComplexProperty_Ok()
6210
+ {
6211
+ var data = new DataTable();
6212
+ data.Columns.Add("Foo.Name", typeof(string));
6213
+ data.Rows.Add("test01");
6214
+ data.AcceptChanges();
6215
+
6216
+ var cut = Context.RenderComponent<Table<DynamicObject>>(pb =>
6217
6218
+ pb.Add(a => a.RenderMode, TableRenderMode.Table);
6219
+ pb.Add(a => a.DynamicContext, new DataTableDynamicContext(data));
6220
+ });
6221
+ cut.Contains("test01");
6222
+ }
6223
6224
[Fact]
6225
public async Task IsKeepSelectedRowAfterAdd_Ok()
6226
{
0 commit comments