BoolToTextColumnComponent
This component allows you to convert from type bool to text
Example

<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: BoolToTextColumnComponent,
props: {
trueText: this.$t("trueText"),
falseText: this.$t("falseText"),
},
},
sortable: true,
class: "white-space-nowrap",
},
],
},
},
};
},
};
Props
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| value | - | Boolean | false | - |
| trueText | - | String | false | "yes" |
| falseText | - | String | false | "no" |