wv-grid-column
Purpose
<wv-grid-column/>. This tag helper is used in conjunction with <wv-grid/> and <wv-grid-row/> to generate a grid.
Properties
| name | description |
|---|---|
class |
object type: default value: `string.empty is required: Added to the grid generated classes |
horizontal-align |
object type: default value: is required: horizontal alignment with this column's table cells. Options are: None, Left, Center, Right |
text-wrap |
object type: default value: is required: enable or disable the text-wrapping in this column's table cells |
vertical-align |
object type: default value: is required: vertical alignment with this column's table cells. Options are: None, Top, Middle, Bottom |
Example
<wv-grid page="@pager" total-count="@totalCount" columns="@columns">
@foreach(var record in records)
{
<wv-grid-row>
<wv-grid-column>...</wv-grid-column>
<wv-grid-column>...</wv-grid-column>
</wv-grid-row>
}
</wv-form>