{"id":13466481,"url":"https://github.com/pablofrommars/TableNet","last_synced_at":"2025-03-25T21:32:20.938Z","repository":{"id":122805534,"uuid":"249427534","full_name":"pablofrommars/TableNet","owner":"pablofrommars","description":"Table.Net - Blazor DataTable Component","archived":false,"fork":false,"pushed_at":"2020-04-08T17:29:27.000Z","size":1372,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T21:50:48.737Z","etag":null,"topics":["blazor","datatables"],"latest_commit_sha":null,"homepage":"https://pablofrommars.github.io","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pablofrommars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-03-23T12:41:46.000Z","updated_at":"2023-08-12T16:39:59.000Z","dependencies_parsed_at":"2024-01-21T09:14:26.716Z","dependency_job_id":"861fb770-ee52-4502-a3a0-cd1b1f364924","html_url":"https://github.com/pablofrommars/TableNet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablofrommars%2FTableNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablofrommars%2FTableNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablofrommars%2FTableNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pablofrommars%2FTableNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pablofrommars","download_url":"https://codeload.github.com/pablofrommars/TableNet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245548406,"owners_count":20633571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blazor","datatables"],"created_at":"2024-07-31T15:00:44.872Z","updated_at":"2025-03-25T21:32:20.305Z","avatar_url":"https://github.com/pablofrommars.png","language":"C#","funding_links":[],"categories":["Libraries \u0026 Extensions"],"sub_categories":["Components"],"readme":"[![License](https://img.shields.io/github/license/BlazorExtensions/Storage.svg?longCache=true\u0026style=flat-square)](https://github.com/pablofrommars/TableNet/blob/master/LICENSE)\n[![Package Version](https://img.shields.io/badge/nuget-v1.0.8-blue.svg?longCache=true\u0026style=flat-square)](https://www.nuget.org/packages/Table.Net/1.0.8)\n\n# Table.Net\n\nBlazor DataTable Component ([Demo](https://pablofrommars.github.io/covid19))\n\n![example](Demo/wwwroot/img/example.png)\n\n## Features\n\n* Flexible design\n* Sorting\n* Filtering\n* Tooltip\n* Asynchronous\n\n## Install\n\n* Add Table.Net [nuget package](https://www.nuget.org/packages/Table.Net)\n* Reference static assets: ```\u003clink href=\"_content/Table.Net/css/main.css\" rel=\"stylesheet\" /\u003e```\n\n## Dependencies\n\n* [Bootstrap v4](https://getbootstrap.com/)\n* [Font Awesome](https://fontawesome.com/)\n\n*libman.json sample:*\n```json\n{\n  \"version\": \"1.0\",\n  \"defaultProvider\": \"cdnjs\",\n  \"libraries\": [\n    {\n      \"library\": \"twitter-bootstrap@4.4.1\",\n      \"destination\": \"wwwroot/lib/twitter-bootstrap/\",\n      \"files\": [\n        \"css/bootstrap.min.css\"\n      ]\n    },\n    {\n      \"library\": \"font-awesome@5.12.1\",\n      \"destination\": \"wwwroot/lib/font-awesome/\",\n      \"files\": [\n        \"css/all.min.css\",\n        \"webfonts/fa-brands-400.eot\",\n        \"webfonts/fa-brands-400.svg\",\n        \"webfonts/fa-brands-400.ttf\",\n        \"webfonts/fa-brands-400.woff\",\n        \"webfonts/fa-brands-400.woff2\",\n        \"webfonts/fa-regular-400.eot\",\n        \"webfonts/fa-regular-400.svg\",\n        \"webfonts/fa-regular-400.ttf\",\n        \"webfonts/fa-regular-400.woff\",\n        \"webfonts/fa-regular-400.woff2\",\n        \"webfonts/fa-solid-900.eot\",\n        \"webfonts/fa-solid-900.svg\",\n        \"webfonts/fa-solid-900.ttf\",\n        \"webfonts/fa-solid-900.woff\",\n        \"webfonts/fa-solid-900.woff2\"\n      ]\n    }\n  ]\n}\n```\n\n## Sample\n\n```razor\n@using Table.Net\n\n\u003cTable Loader=Loader Context=\"wf\" Dark=true Rounded=true\u003e\n    \u003cLoading\u003e\u003cp\u003eLoading...\u003c/p\u003e\u003c/Loading\u003e\n    \u003cHeader\u003e\n        \u003cColumn Field=\"Date\" Sortable=true Sort=\"-1\" /\u003e\n        \u003cColumn Field=\"TemperatureC\" Label=\"Temp. (C)\" Sortable=true /\u003e\n        \u003cColumn Field=\"TemperatureF\" Label=\"Temp. (F)\" Sortable=true /\u003e\n        \u003cColumn Field=\"Summary\" Filterable=true /\u003e\n    \u003c/Header\u003e\n    \u003cRow\u003e\n        \u003cCell\u003e@wf.Date.ToShortDateString()\u003c/Cell\u003e\n        \u003cCell Align=Align.Right \u003e@wf.TemperatureC\u003c/Cell\u003e\n        \u003cCell Align=Align.Right\u003e@wf.TemperatureF\u003c/Cell\u003e\n        \u003cCell Align=Align.Center\u003e@wf.Summary\u003c/Cell\u003e\n    \u003c/Row\u003e\n\u003c/Table\u003e\n\n@code {\n    private async Task\u003cIList\u003cWeatherForecast\u003e\u003e Loader() =\u003e ...;\n}\n```\n\n## Styling Parameters\n\n| Parameter | Default | Bootstrap |\n|:----------|:-------:|----------:|\n|Small|true|[table-sm](https://getbootstrap.com/docs/4.4/content/tables/#small-table)|\n|Dark|false|[table-dark](https://getbootstrap.com/docs/4.4/content/tables/#examples)|\n|HeadDark|false|[thead-dark](https://getbootstrap.com/docs/4.4/content/tables/#table-head-options)|\n|Striped|false|[table-striped](https://getbootstrap.com/docs/4.4/content/tables/#striped-rows)|\n|Hover|false|[table-hover](https://getbootstrap.com/docs/4.4/content/tables/#hoverable-rows)|\n|Rounded|false|[rounded](https://getbootstrap.com/docs/4.4/utilities/borders/#border-radius)|\n\n## Interactivity\n\n* OnRowClick: ```EventCallback\u003cTItem\u003e```\n\n## Columns\n\n| Parameter | Default |  Description |\n|:----------|:-------:|:--|\n|Field||Name of property in `TItem`|\n|Label||Header override, `Field` is used by default|\n|Sortable| false | Allows sorting |\n|Filterable| false | Allows filtering |\n| Sort | 0 | Indicates default sorting (-1 for descending, 1 for ascending) |\n| Tooltip || Information text displayed on column hover |\n| TooltipPlacement | center | left, center or right |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablofrommars%2FTableNet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablofrommars%2FTableNet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablofrommars%2FTableNet/lists"}