Appearance
TableCheckbox
The checkbox in tables plays a very important role and only in appearance it is similar to the checkbox in forms.
Props
indeterminate
Whether it is marked as an indeterminate
type:
Booleandefault:
falseforceindeterminate
Forces setting as indeterminate even if the type for the list checkbox does not match.
type:
Booleandefault:
falselistType
Information about selecting/not selecting a record.
type:
Stringdefault:
chosenprefix
Prefix for checkbox id.
type:
Stringdefault:
table-checkboxid
Identifier for the checkbox.
type:
[String|Number]default:
0Events
toogle
Selection switching
Examples
Standard checkbox
html
<table-checkbox
:id="1"
/>Checkbox with indeterminate state
html
<table-checkbox indeterminate
:id="1"
/>Checkbox with all type
html
<table-checkbox
:id="1"
list-type="all"
/>