You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Svelte Data Table based on [Flowbite Svelte](https://flowbite-svelte.com/), [Flowbite Icons](https://flowbite.com/icons/), and [Tailwind](https://tailwindcss.com/)
2
2
3
-
This data table is designed for viewing and editing data in an array of objects. It works in conjunction with the Flowbite Svelte library, with support for custom cell editors, moving focus between cells with tab and enter, column sorting (simple and custom), conditional CSS, and more.
3
+
This data table is designed for viewing and editing data in an array of objects. It's built using the Flowbite Svelte library's Table components and works in conjunction with it, with support for custom cell editors, moving focus between cells with tab and enter, column sorting (simple and custom), conditional CSS, and more.
4
4
5
5
## Install
6
6
@@ -44,4 +44,22 @@ Then install the Flowbite components and icons along with the data table compone
44
44
</main>
45
45
```
46
46
47
-
Examples for most of the component's features are under /examples . You can find the documentation [here](https://emamid.github.io/svelte-data-table/).
47
+
Examples for most of the component's features are under /examples . You can find the documentation [here](https://emamid.github.io/svelte-data-table/).
48
+
49
+
#### Example 1 - Basic data table
50
+

51
+
52
+
#### Example 2 - Table with cell focus components
53
+

54
+
55
+
#### Example 3 - Table with cell focus Select components, cell renderers, and custom sort
56
+

57
+
58
+
#### Example 4 - Table with actions and cell view components
59
+

60
+
61
+
#### Example 5 - Table with custom cell component
62
+

63
+
64
+
#### Example 6 - Table with cell and row class getter functions
Copy file name to clipboardExpand all lines: docs/index.html
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ <h3> </h3>
101
101
102
102
<section>
103
103
<article><h2>Svelte Data Table based on <ahref="https://flowbite-svelte.com/">Flowbite Svelte</a>, <ahref="https://flowbite.com/icons/">Flowbite Icons</a>, and <ahref="https://tailwindcss.com/">Tailwind</a></h2>
104
-
<p>This data table is designed for viewing and editing data in an array of objects. It works in conjunction with the Flowbite Svelte library, with support for custom cell editors, moving focus between cells with tab and enter, column sorting (simple and custom), conditional CSS, and more.</p>
104
+
<p>This data table is designed for viewing and editing data in an array of objects. It's built using the Flowbite Svelte library's Table components and works in conjunction with it, with support for custom cell editors, moving focus between cells with tab and enter, column sorting (simple and custom), conditional CSS, and more.</p>
105
105
<h2>Install</h2>
106
106
<p>To add to an existing Svelte app, first install Tailwind if you haven't already:</p>
<p>Examples for most of the component's features are under /examples . You can find the documentation <ahref="https://emamid.github.io/svelte-data-table/">here</a>.</p></article>
138
+
<p>Examples for most of the component's features are under /examples . You can find the documentation <ahref="https://emamid.github.io/svelte-data-table/">here</a>.</p>
Copy file name to clipboardExpand all lines: examples/02-cell-focus/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
The Name column has an ```InputCell``` focus component, while the Fingers and Level columns have ```NumberInputCell``` focus components. Editing is implemented via the ```cellChanged``` event. All three columns are sortable.
0 commit comments