Skip to content

how to adjust header and add type select in cols #62

@thanaph0n29

Description

@thanaph0n29

this is my code
<----------------------------------------------------->
<template #header.cus_status_text="{ column }">


📋 {{ column.title }} + 2
<button @click="customAction">🔧

const cols =
ref([
{ field: 'actions', title: 'Actions', isUnique: true, sort:false, filter:false },
{
field: 'cus_status_text',
title: 'สถานะ',
type: 'bool',
},
{ field: 'cus_name', title: 'ชื่อลูกค้า', },
{ field: 'cus_email', title: 'Email/Line' },
{ field: 'cus_credit', title: 'Credit', type: 'number', filter: false },
{ field: 'cus_remark', title: 'Remark', filter: true},
]) || [];

    button  disappear  and idk how to add filter without type bool 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions