我想通过 DataBinding 从数据模型构建表,但没有找到如何去做。我有这样的数据:
1.type CustomObj with slots:
- id
- a
- b
2. variable Content of type <List of CustomObj>
How to make a table like as below:
+--------------------+--------------------+--------------------+
|Identifier |a slot |b slot |
+--------------------+--------------------+--------------------+
|'id from first eleme|'a from first elemen|b from first elemen |
|t |t |t |
+--------------------+--------------------+--------------------+
|... |... |... |
+--------------------+--------------------+--------------------+
我阅读了有关 FlowDocument 的信息,但没有找到如何通过 DataBinding 从 List 构建流文档。