{"repo":"dasDaniel/svelte-table","free":true,"listed":false,"github":"https://github.com/dasDaniel/svelte-table","clone":"git clone https://github.com/dasDaniel/svelte-table.git","description":"A svelte table implementation that allows sorting and filtering","language":"Svelte","stars":562,"topics":["component","svelte","svelte3","table"],"license":"MIT","category":"ui-components","readme_excerpt":"svelte-table A relatively minimal table component. Allows sorting and filtering based on column values, and row selection/expanding. Example github pages IIFE example Install Usage The package includes exports for raw svelte, ES Module(.mjs) and CJS (.js) exports. Your bundler will likely know which one to pick by using import SvelteTable from \"svelte-table\" An iife version is also available in the /dist/iife folder. This allows for easy run-time use, such as a direct uncompiled dependency for a use outside of a svelte project. Sample Data and config Props Option Type Description -------------------------- --------------- ----------------------------------------------------------------------- columns Object[] column config (details below) rows Object[] row (data) array sortBy String ‡ Sorting key sortOrder Number ‡ 1 = Ascending, -1 Descending, 0 no filtering sortOrders Number[] availability of order options iconAsc String ( html ) override ascending order indication iconDesc String ( html ) override descending order indication iconFilterable String ( html ) override filterable column indication iconExpand String row collapsed indicator/button iconExpanded String row expanded indicator/button iconSortable String indicate column is sortable classNameTable String/Array optional class name(s) for table element classNameThead String/Array optional class name(s) for thead element classNameTbody String/Array optional class name(s) for tbody element classNameSelect String/Array opti","default_branch":null,"files":null,"tree":[],"storefront":"/r/dasDaniel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dasDaniel/svelte-table/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."}