wv-field-checkbox-grid
Purpose
<wv-field-checkbox-grid/>
. Provides the ability to render grid like checkbox selections.
Properties
Important: All <wv-field-*>
helpers inherit a "base tag helper" properties. In the following list are presented only the properties that this tag helper adds or alters. Not all base tag helper properties can be implemented by this tag helper too.
name | description |
---|---|
columns |
object type: default value: is required: The object is used for generating the grid's columns and determining the selections. The Value property is used in determination, The Label property is used as a column label. |
rows |
object type: default value: is required: The object is used for generating the grid's rows and determining the selections. The Value property is used in determination, The Label property is used as a row label. |
text-true |
object type: default value: is required: The text presented as label for all checkboxes in the grid. |
value |
object type: default value: is required: the provided string/json value to the field will be deserialized to a |
Example
@{
var chkValues = JsonConvert.Serialize(new List<KeyStringList>());
}
<wv-field-checkbox-grid value="@chkValues"></wv-field-checkbox>