question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ATable] Unable to customize column headers

See original GitHub issue
<template>
  <div class="flex justify-center w-full" >
    <div class="" w-full>
        <ATable
        :rows="rows"
        :columns="columns"
        >
        </ATable>
    </div>
  </div>
</template>

<script setup lang="ts">
    import { ATable } from "anu-vue"
    const rows = [
        {
            name:"12222",
            age:"address",
            address:"ssssss"
        }
    ]
    const columns = [
        { name: 'နာမည်' },
        { name: 'အသက်'},
        { name: 'လိပ်စာ' },
    ]
</script>

i hope it will be like that:

const columns = [
        { name: 'name' ,title:"နာမည်"},
        { name: "age',title:"အသက်"},
        { name: 'address',title:"လိပ်စာ" },
    ]

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jingyuexingcommented, Nov 27, 2022

It would be better if it could support components

Do you mean rendering custom components instead of just text?

yes

0reactions
jd-solankicommented, Dec 26, 2022

Hey, I have made a new release can you please give it a try and let me know your feedback?

Thanks 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to edit header · Issue #46 · jakob/TableTool - GitHub
It does not seem possible to edit the header row. When you add a column, you cannot add or edit the column header...
Read more >
Unable to Customize Column Name in Table/ Ad Hoc Reporting
When generating a Table/ Ad Hoc Report, cannot locate an option to customize the column name Can I customize a column name in...
Read more >
Turn Excel table headers on or off - Microsoft Support
Show or hide the Header Row · Click anywhere in the table. · Go to Table Tools > Design on the Ribbon. ·...
Read more >
Rename column headers in a table - Microsoft Power BI ...
Under Visualisations, click the Fields button ( 2 dotted line rectangles), then click the down arrow on the field you want change and...
Read more >
Excel can't get rid of column 1 column 2 header names fix ...
One of my students accidentally converted her data into a table in Excel, and all these random headings called " column 1" and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found