Skip to content

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:Boolean
default:false
forceindeterminate
Forces setting as indeterminate even if the type for the list checkbox does not match.
type:Boolean
default:false
listType
Information about selecting/not selecting a record.
type:String
default:chosen
prefix
Prefix for checkbox id.
type:String
default:table-checkbox
id
Identifier for the checkbox.
type:[String|Number]
default:0

Events

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"
/>