Editable data
Allow users to edit your data
Example
Id
Name
Category
Price Retail
Status
Per page:
Page 1 of 100
Showing
1
to
10
of 1000 rows
{ "data": [ { "id": 1, "sku": "SPO-2052-00001", "name": "Generic Concrete Pizza", "description": "Introducing the United Arab Emirates-inspired Computer, blending hefty style with local craftsmanship", "brand": "Strosin - VonRueden", "category": "Sports", "subcategory": "Equipment", "price": { "retail": 463.16, "wholesale": 259.37, "msrp": 616, "currency": "USD" }, "inventory": { "quantity": 115, "minStockLevel": 24, "maxStockLevel": 121, "location": "external", "binNumber": "B59" }, "supplier": { "id": "d5e93183-d2db-4df7-b52b-c02e9f1b6268", "name": "Cremin - Hauck", "contactPerson": "Stacey Wiza", "email": "[email protected]", "phone": "1-541-657-1790 x9357", "country": "Hungary", "leadTimeInDays": 11, "minimumOrderQuantity": 68 }, "dimensions": { "width": 19.2, "height": 52.8, "length": 8.6, "weight": 13.7, "unit": "metric" }, "condition": "used", "status": "in-stock", "restockInfo": { "nextRestockDate": "2025-06-20T20:29:35.494Z", "expectedQuantity": 267, "lastRestockDate": "2025-01-16T19:50:02.282Z", "averageMonthlyDemand": 113 }, "metadata": { "createdAt": "2024-01-23T04:55:28.419Z", "updatedAt": "2024-05-10T06:37:36.315Z", "isActive": true, "tags": [ "hm", "secondary", "generally", "calculating" ], "barcode": "4913793693230" } }, { "id": 2, "sku": "SPO-7498-00002", "name": "Sleek Granite Computer", "description": "Innovative Soap featuring meager technology and Marble construction", "brand": "Sawayn, Wuckert and Heaney", "category": "Sports", "subcategory": "Apparel", "price": { "retail": 286.58, "wholesale": 200.61, "msrp": 352.49, "currency": "USD" }, "inventory": { "quantity": 421, "minStockLevel": 89, "maxStockLevel": 445, "location": "external", "binNumber": "A11" }, "supplier": { "id": "5fafc725-05e4-4b73-b67d-fe468e4e23ae", "name": "Rath Inc", "contactPerson": "Adrienne Mueller", "email": "[email protected]", "phone": "874-748-3222 x0094", "country": "Uzbekistan", "leadTimeInDays": 44, "minimumOrderQuantity": 51 }, "dimensions": { "width": 64.7, "height": 75.4, "length": 27, "weight": 37.5, "unit": "metric" }, "condition": "refurbished", "status": "in-stock", "restockInfo": { "nextRestockDate": "2025-05-23T21:09:31.595Z", "expectedQuantity": 347, "lastRestockDate": "2024-11-15T23:04:06.576Z", "averageMonthlyDemand": 140 }, "metadata": { "createdAt": "2024-07-27T11:24:18.794Z", "updatedAt": "2024-11-17T15:13:57.334Z", "isActive": true, "tags": [ "like", "though", "questioningly", "overplay" ], "barcode": "5054605351289" } }, { "id": 3, "sku": "SPO-6681-00003", "name": "Gorgeous Steel Chicken", "description": "The sleek and junior Hat comes with green LED lighting for smart functionality", "brand": "Bartell, Abbott and Dare", "category": "Sports", "subcategory": "Accessories", "price": { "retail": 14.94, "wholesale": 10.31, "msrp": 21.51, "currency": "USD" }, "inventory": { "quantity": 770, "minStockLevel": 183, "maxStockLevel": 917, "location": "external", "binNumber": "B13" }, "supplier": { "id": "0139afda-b3f3-4bee-96c3-4b60339198e7", "name": "Franey Inc", "contactPerson": "Barbara Shanahan", "email": "[email protected]", "phone": "234.932.8830 x542", "country": "Turks and Caicos Islands", "leadTimeInDays": 10, "minimumOrderQuantity": 11 }, "dimensions": { "width": 77.2, "height": 42.6, "length": 90, "weight": 37, "unit": "imperial" }, "condition": "used", "status": "in-stock", "restockInfo": { "nextRestockDate": "2026-02-25T03:07:06.061Z", "expectedQuantity": 356, "lastRestockDate": "2024-12-14T06:43:46.165Z", "averageMonthlyDemand": 41 }, "metadata": { "createdAt": "2024-12-25T07:05:41.031Z", "updatedAt": "2025-03-05T17:28:40.102Z", "isActive": true, "tags": [ "broadside", "merit" ], "barcode": "3860445529651" } }, { "id": 4, "sku": "CLO-5563-00004", "name": "Modern Ceramic Cheese", "description": "Experience the ivory brilliance of our Shirt, perfect for stunning environments", "brand": "Gleason - Veum", "category": "Clothing", "subcategory": "Sportswear", "price": { "retail": 358.83, "wholesale": 197.36, "msrp": 502.36, "currency": "USD" }, "inventory": { "quantity": 405, "minStockLevel": 104, "maxStockLevel": 524, "location": "warehouse", "binNumber": "B26" }, "supplier": { "id": "5f3c977f-2086-420f-8967-f5c05f0d2e60", "name": "Botsford - Mertz", "contactPerson": "Mr. Ben Beer", "email": "[email protected]", "phone": "294.636.0062 x79645", "country": "French Polynesia", "leadTimeInDays": 28, "minimumOrderQuantity": 23 }, "dimensions": { "width": 83.6, "height": 96.7, "length": 69, "weight": 1.8, "unit": "metric" }, "condition": "used", "status": "in-stock", "restockInfo": { "nextRestockDate": "2025-12-12T15:12:51.560Z", "expectedQuantity": 340, "lastRestockDate": "2024-09-07T06:32:24.718Z", "averageMonthlyDemand": 199 }, "metadata": { "createdAt": "2023-08-17T11:06:44.104Z", "updatedAt": "2024-03-24T15:35:31.078Z", "isActive": true, "tags": [ "wicked", "er" ], "barcode": "4210127596389" } }, { "id": 5, "sku": "HOM-7290-00005", "name": "Tasty Concrete Ball", "description": "Our gecko-friendly Car ensures favorite comfort for your pets", "brand": "Wintheiser - Casper", "category": "Home & Garden", "subcategory": "Kitchen", "price": { "retail": 57.13, "wholesale": 37.71, "msrp": 71.98, "currency": "USD" }, "inventory": { "quantity": 232, "minStockLevel": 125, "maxStockLevel": 628, "location": "store-front", "binNumber": "B94" }, "supplier": { "id": "90e1ce87-b0a8-4a47-b8af-02ae197faf80", "name": "Hirthe, Ferry and Schroeder", "contactPerson": "Raul Hettinger", "email": "[email protected]", "phone": "1-758-481-4442 x47125", "country": "Togo", "leadTimeInDays": 5, "minimumOrderQuantity": 5 }, "dimensions": { "width": 9.3, "height": 31.1, "length": 75.7, "weight": 1.9, "unit": "imperial" }, "condition": "new", "status": "in-stock", "restockInfo": { "nextRestockDate": "2026-03-02T19:58:55.239Z", "expectedQuantity": 85, "lastRestockDate": "2024-06-12T16:03:33.992Z", "averageMonthlyDemand": 57 }, "metadata": { "createdAt": "2025-04-13T14:19:20.420Z", "updatedAt": "2025-04-25T02:56:06.816Z", "isActive": true, "tags": [ "jellyfish", "inventory", "phew", "yahoo", "epic" ], "barcode": "6375311469735" } }, { "id": 6, "sku": "CLO-9584-00006", "name": "Practical Cotton Chicken", "description": "Ergonomic Car made with Wooden for all-day interesting support", "brand": "Balistreri - Pacocha", "category": "Clothing", "subcategory": "Accessories", "price": { "retail": 345.04, "wholesale": 179.42, "msrp": 424.4, "currency": "USD" }, "inventory": { "quantity": 97, "minStockLevel": 55, "maxStockLevel": 277, "location": "warehouse", "binNumber": "B31" }, "supplier": { "id": "eec47595-ad55-41da-bc5e-a0005a0034e9", "name": "Heaney, Douglas and Trantow", "contactPerson": "Phillip Marvin II", "email": "[email protected]", "phone": "(759) 991-2193 x916", "country": "United Kingdom", "leadTimeInDays": 17, "minimumOrderQuantity": 83 }, "dimensions": { "width": 75.7, "height": 75.7, "length": 55.7, "weight": 34.2, "unit": "imperial" }, "condition": "new", "status": "in-stock", "restockInfo": { "nextRestockDate": "2026-02-21T21:28:59.723Z", "expectedQuantity": 148, "lastRestockDate": "2024-07-23T11:27:42.791Z", "averageMonthlyDemand": 152 }, "metadata": { "createdAt": "2025-04-04T21:05:05.528Z", "updatedAt": "2025-05-07T05:17:04.390Z", "isActive": true, "tags": [ "because" ], "barcode": "2087367233545" } }, { "id": 7, "sku": "ELE-7534-00007", "name": "Intelligent Bronze Mouse", "description": "Our crunchy-inspired Sausages brings a taste of luxury to your yearly lifestyle", "brand": "Kerluke, Raynor and Goodwin", "category": "Electronics", "subcategory": "Laptops", "price": { "retail": 910.28, "wholesale": 564.37, "msrp": 1183.36, "currency": "USD" }, "inventory": { "quantity": 562, "minStockLevel": 159, "maxStockLevel": 797, "location": "warehouse", "binNumber": "B41" }, "supplier": { "id": "3ff647cd-ac3b-4e64-94ec-2f374b9e67a4", "name": "Lueilwitz, Hansen and Mraz", "contactPerson": "Gordon Boyle", "email": "[email protected]", "phone": "480.993.7112", "country": "South Sudan", "leadTimeInDays": 23, "minimumOrderQuantity": 62 }, "dimensions": { "width": 90.4, "height": 17.7, "length": 9.3, "weight": 31.4, "unit": "imperial" }, "condition": "new", "status": "discontinued", "restockInfo": { "nextRestockDate": null, "expectedQuantity": null, "lastRestockDate": "2024-09-06T16:52:18.439Z", "averageMonthlyDemand": 51 }, "metadata": { "createdAt": "2023-10-02T16:31:09.719Z", "updatedAt": "2024-01-22T11:57:46.056Z", "isActive": false, "tags": [ "by", "pish", "thoroughly", "because", "millet" ], "barcode": "7511659155184" } }, { "id": 8, "sku": "BEA-7831-00008", "name": "Soft Cotton Chicken", "description": "Ergonomic Cheese made with Marble for all-day energetic support", "brand": "Brekke - Streich", "category": "Beauty", "subcategory": "Skincare", "price": { "retail": 450.26, "wholesale": 283.66, "msrp": 675.39, "currency": "USD" }, "inventory": { "quantity": 580, "minStockLevel": 119, "maxStockLevel": 595, "location": "store-front", "binNumber": "D67" }, "supplier": { "id": "b9ecb8ff-dd9d-407d-a95c-45b024e301dd", "name": "Halvorson - Zieme", "contactPerson": "Gabriel Kiehn", "email": "[email protected]", "phone": "601.242.6262 x382", "country": "Samoa", "leadTimeInDays": 44, "minimumOrderQuantity": 59 }, "dimensions": { "width": 9.8, "height": 61.3, "length": 41.4, "weight": 42.1, "unit": "metric" }, "condition": "new", "status": "in-stock", "restockInfo": { "nextRestockDate": "2026-04-19T06:43:44.323Z", "expectedQuantity": 332, "lastRestockDate": "2024-06-18T14:23:31.284Z", "averageMonthlyDemand": 190 }, "metadata": { "createdAt": "2023-07-15T09:07:03.617Z", "updatedAt": "2024-02-09T12:53:02.354Z", "isActive": true, "tags": [ "knight", "humidity", "accept", "for", "below" ], "barcode": "1923515130093" } }, { "id": 9, "sku": "BEA-2992-00009", "name": "Tasty Wooden Salad", "description": "The Grass-roots client-server leverage Tuna offers reliable performance and superficial design", "brand": "Gerhold, Reilly and Gutmann", "category": "Beauty", "subcategory": "Tools", "price": { "retail": 214.6, "wholesale": 122.32, "msrp": 259.67, "currency": "USD" }, "inventory": { "quantity": 179, "minStockLevel": 74, "maxStockLevel": 370, "location": "external", "binNumber": "B58" }, "supplier": { "id": "373665fe-5253-4298-ba75-8a6e67af729c", "name": "Rath and Sons", "contactPerson": "Karen Connelly", "email": "[email protected]", "phone": "1-829-575-7406 x3855", "country": "Reunion", "leadTimeInDays": 40, "minimumOrderQuantity": 26 }, "dimensions": { "width": 3.5, "height": 82, "length": 85.9, "weight": 20.8, "unit": "metric" }, "condition": "used", "status": "in-stock", "restockInfo": { "nextRestockDate": "2025-10-17T09:08:14.793Z", "expectedQuantity": 414, "lastRestockDate": "2025-02-27T16:04:46.186Z", "averageMonthlyDemand": 39 }, "metadata": { "createdAt": "2024-12-06T09:49:54.866Z", "updatedAt": "2024-12-06T16:01:25.356Z", "isActive": true, "tags": [ "mammoth", "via", "phooey", "softly", "heavily" ], "barcode": "9387610272363" } }, { "id": 10, "sku": "BEA-2109-00010", "name": "Ergonomic Steel Keyboard", "description": "Savor the crunchy essence in our Computer, designed for superficial culinary adventures", "brand": "Bode - Ferry", "category": "Beauty", "subcategory": "Tools", "price": { "retail": 141.71, "wholesale": 76.52, "msrp": 177.14, "currency": "USD" }, "inventory": { "quantity": 356, "minStockLevel": 183, "maxStockLevel": 916, "location": "warehouse", "binNumber": "C25" }, "supplier": { "id": "4d519275-02f9-4b0f-b0e8-33f66c3f52bd", "name": "Schroeder, Wiegand and Gorczany", "contactPerson": "Mrs. Traci Stiedemann", "email": "[email protected]", "phone": "645-415-6169 x470", "country": "Bahamas", "leadTimeInDays": 5, "minimumOrderQuantity": 57 }, "dimensions": { "width": 98.2, "height": 11.6, "length": 94.4, "weight": 34.5, "unit": "metric" }, "condition": "refurbished", "status": "in-stock", "restockInfo": { "nextRestockDate": "2025-10-03T02:49:35.575Z", "expectedQuantity": 409, "lastRestockDate": "2024-08-21T14:46:06.580Z", "averageMonthlyDemand": 90 }, "metadata": { "createdAt": "2023-09-20T19:00:42.578Z", "updatedAt": "2023-11-15T14:45:52.448Z", "isActive": true, "tags": [ "obnoxiously", "queasily", "imaginative", "um" ], "barcode": "4262696396310" } } ] }
{#each datagrid.columns.getLeafColumnsInOrder() as column}
{@render LeafHeader(column)}
{/each}
{#each datagrid.rows.getPaginatedRows() as row}
{#if !row.isGroupRow()}
{#each datagrid.columns.getLeafColumnsInOrder() as column}
{@render RenderBodyCell(column, row)}
{/each}
{:else}{/if}
{/each}
{JSON.stringify( { data: datagrid.rows.getPaginatedRows().map((r) => { if (r.isGroupRow()) return; return r.original; }) }, null, 2 )}
datagrid.handlers.sorting.toggleColumnSort(column, e.ctrlKey)}
class={cn(
'th flex min-w-40 max-w-40 items-center justify-between gap-2 px-4 py-2',
column._meta.grow && '!max-w-full !grow',
column.isSortable() && 'cursor-pointer'
)}
style:--width={column.state.size.width + 'px'}
style:--min-width={column.state.size.minWidth + 'px'}
style:--max-width={column.state.size.maxWidth + 'px'}
>
{/if}
{/snippet}
{column.header}
{#if column.isSortable()}
{/if}