Skip to content

Commit

Permalink
Merge pull request #7 from BitTheCat/added-row-select-class-and-fixes
Browse files Browse the repository at this point in the history
Revert tableClass props - Added row-select-class v0.2.1
  • Loading branch information
BitTheCat authored Nov 15, 2022
2 parents 17a353d + 286e176 commit 2510757
Show file tree
Hide file tree
Showing 5 changed files with 335 additions and 1,191 deletions.
2 changes: 1 addition & 1 deletion dev/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="flex max-w-2xl mx-auto mb-10 space-x-4 sm:mt-10">
<div class="flex flex-col flex-grow">
<div class="font-semibold mb-2">
Tailwind Vue DataTable v2
Tailwind Vue DataTable v0.2.1
<span class="text-xs font-light">by BitTheCat</span>
</div>
<div>
Expand Down
6 changes: 2 additions & 4 deletions dev/TableShow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
:items="cloneItems"
:fields="fieldsSimple"
:busy="busy"
:body-class="'text-lg'"
:spinner-class="'text-green-500'"
:table-class="'overflow-hidden shadow ring-1 ring-gray-100 md:rounded-lg'"
:head-class="'bg-yellow-600'"
:spinner-class="'text-red-500'"
@check-row="checkRow"
@row-clicked="checkRow"
/>
Expand All @@ -28,6 +25,7 @@
multiple-sortable
:total-rows="items.length"
:per-page="perPage"
:row-select-class="'bg-red-500'"
enable-check
@change-page="changePage"
@check-row="checkRow"
Expand Down
Loading

0 comments on commit 2510757

Please sign in to comment.