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

wra-data-table #38

Open
13 of 15 tasks
pawlowski-d opened this issue May 9, 2024 · 0 comments
Open
13 of 15 tasks

wra-data-table #38

pawlowski-d opened this issue May 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pawlowski-d
Copy link
Contributor

pawlowski-d commented May 9, 2024

Replace vuetify data-table with own, preferably an easy slot-in replacement with no changes to existing codebase.

Needs:

  • Search prop
  • Sortable headers
  • items-per-page prop
  • sort-by prop [{ key: 'submittedDate', order: 'desc' }]
  • loading prop
  • Headers array with following structure:
{
          title: "",
          key: "weight",
          align: "end", 'start' | 'end' | 'center' | undefined
          width: 200,
          sortable: false
 },
  • Slots for individual item columns, e.g. <template v-slot:item.utrn="{ value }">
  • Slots to replace the rendering of a rows e.g. <template v-slot:item="{ item }">
  • In slots, value, item and items should be available to parent
  • Slots for whole body of table, e.g. <template v-slot:body="{ items }">
  • Slots for headers of table, e.g. <template v-slot:headers></template>
  • Pagination
  • @ click:row="function" ability
  • Row background colour change on hover
  • CSS styling
@pawlowski-d pawlowski-d added the enhancement New feature or request label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant