{"repo":"joaquimnetocel/svelte-datatables-net","free":true,"listed":false,"github":"https://github.com/joaquimnetocel/svelte-datatables-net","clone":"git clone https://github.com/joaquimnetocel/svelte-datatables-net.git","description":"svelte-datatables-net is a svelte/sveltekit component that turns data into an interactive HTML table. Inspired by datatables.net.","language":"Svelte","stars":29,"topics":["datatable","datatables","svelte","sveltejs","sveltekit"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"svelte-datatables-net svelte-datatables-net is a svelte/sveltekit component that turns data into an interactive HTML table. VERSIONS - VERSION 1.0.0 OR ABOVE WORKS WITH SVELTE 5 ONLY (NEWER AND RECOMMENDED VERSIONS WITH IMPROVEMENTS!) - PREVIOUS VERSIONS WORKS WITH SVELTE 3, 4 AND 5. FEATURES - POSSIBILITY OF CHOOSING THE SEARCHABLE COLUMNS. - POSSIBILITY OF CHOOSING THE SORTABLE COLUMNS. - PAGINATION. - POSSIBILITY OF CHOOSING AND CHANGING THE NUMBER OF ROWS PER PAGE. - NON-OPINIONATED STYLING. - NON-OPINIONATED POSITIONING. - TYPESCRIPT SUPPORT. INSTALLATION EXAMPLES AND DEVELOPING To run the examples from /src/routes : COMPONENT STRUCTURE - createData : A function to create a state with the data. - Search : A svelte component with a search input. - RowsPerPage : A svelte component with a select input to choose the number of rows per page. - Pagination : A svelte component for pagination. - Sort : A svelte component that enable sorting for a specific column. - typeData : If you are using typescript, it is a type definition for the data state. PARAMETERS AND PROPS - PARAMETERS OF createData : PARAMETER DESCRIPTION TYPE REQUIRED DEFAULT ---------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------ -------- ------------------------------------------- data AN ARRAY WITH THE DATA. Generic[] YES - searchablekeys AN AR","default_branch":null,"files":null,"tree":[],"storefront":"/r/joaquimnetocel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/joaquimnetocel/svelte-datatables-net/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}