【发布时间】:2017-10-12 00:35:42
【问题描述】:
如何为 Zebble for Xamarin 网格中的每一列添加列和行 borders 和 headers 并像 ASP.NET GridView 或 html 表一样使用它? p>
例如在下面的示例中,sn-p 希望将 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 grid documentation page 没有找到任何有关此要求的文档。
我正在使用 Zebble 4.0.140
【问题讨论】:
标签: c# user-interface xamarin xamarin-zebble zebble