Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thanaph0n29 opened this issue Dec 12, 2024 · 0 comments
Open

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

thanaph0n29 opened this issue Dec 12, 2024 · 0 comments

Comments

@thanaph0n29
Copy link

thanaph0n29 commented Dec 12, 2024

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 
@thanaph0n29 thanaph0n29 changed the title how to adjust header ? how to adjust header and add type select in cols Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant