如何在 Zebble for Xamarin 网格中为每列添加列和行边框和标题,并像 ASP.NET GridView 或 html 表一样使用它?
例如,在下面的示例片段中,想要将 id="col1" 放在第一列中,将 Id="col2" 放在第二列中
<Grid z-of="rowItem, Cell" Id="List" DataSource="Items" LazyLoad="true" EmptyText="Empty list">
<z-Component z-type="Cell" z-partial="true" z-base="GridCell[rowItem]" >
<TextView Id="col1" CssClass="tableCell" Text="@Item.Col1" />
<TextView Id="col2" CssClass="tableCell" Text="@Item.Col2" />
</z-Component>
</Grid>
我在 zebble 网格文档页面上没有找到任何关于此要求的文档。
我正在使用 Zebble 4.0.140