CheckBoxColumnComponent

Uses the b-checkbox component, see Buefy documentation

Example

CheckBoxColumnComponent

<template>
  <div>
    <section>
      <server-table-component
        data-url="/services"
        v-bind="servicesDefinition"
      />
    </section>
  </div>
</template>;

export default {
  name: "App",
  data() {
    return {
      servicesDefinition: {
        vtable: {
          headers: [
            {
              text: "Service Id",
              value: "service_Id",
              align: "left",
              render: {
                type: CheckBoxColumnComponent,
                props: {
                  content: "archived",
                  disabled: this.readOnly,
                },
                events: {
                  "selection-update": (v) => this.setArchived(v),
                },
              },
              sortable: true,
              class: "white-space-nowrap",
            },
          ],
        },
      },
    };
  },
};

Props

NameDescriptionTypeRequiredDefault
value-false-
isRequired-Booleanfalsefalse
indeterminateSame as native indeterminateBooleanfalsefalse
size-Stringfalse"is-small"
disabled-Booleanfalsefalse
content-Stringfalse""

Events

Event NameDescriptionParameters
selection-update--