{"id":13824004,"url":"https://github.com/AnkitSharma-007/BlazorGrid","last_synced_at":"2025-07-08T18:31:32.315Z","repository":{"id":92340378,"uuid":"159700773","full_name":"AnkitSharma-007/BlazorGrid","owner":"AnkitSharma-007","description":"A reusable grid component for Blazor with the support of client side pagination.","archived":false,"fork":false,"pushed_at":"2019-05-31T12:49:59.000Z","size":5117,"stargazers_count":70,"open_issues_count":5,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-31T19:55:43.425Z","etag":null,"topics":["ankit-sharma","asp-net-core","blazor","blazor-extensions","blazorgrid","componets","csharp","webassembly"],"latest_commit_sha":null,"homepage":"","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/AnkitSharma-007.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":"2018-11-29T17:07:12.000Z","updated_at":"2024-10-14T11:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"db4e2f83-878f-4c41-8837-9e275d22bdf5","html_url":"https://github.com/AnkitSharma-007/BlazorGrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnkitSharma-007/BlazorGrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitSharma-007%2FBlazorGrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitSharma-007%2FBlazorGrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitSharma-007%2FBlazorGrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitSharma-007%2FBlazorGrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnkitSharma-007","download_url":"https://codeload.github.com/AnkitSharma-007/BlazorGrid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkitSharma-007%2FBlazorGrid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263029205,"owners_count":23402354,"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":["ankit-sharma","asp-net-core","blazor","blazor-extensions","blazorgrid","componets","csharp","webassembly"],"created_at":"2024-08-04T09:00:52.827Z","updated_at":"2025-07-08T18:31:32.291Z","avatar_url":"https://github.com/AnkitSharma-007.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/AnkitSharma-007/BlazorGrid/blob/master/LICENSE)\n[![Package Version](https://img.shields.io/badge/nuget-v1.1.0-blue.svg?longCache=true\u0026style=flat-square)](https://www.nuget.org/packages/BlazorGrid/)\n# BlazorGrid\nThis is a reusable grid component for Blazor. It also support client side pagination.\n# Prerequisites\nThe BlazorGrid component can be used in a Blazor application only. To create a Blazor application follow the steps mentioned at https://blazor.net/docs/get-started.html\n# Nuget Gallery\nThe Nuget package page can be found at https://www.nuget.org/packages/BlazorGrid/\n# Installation\nTo install ```BlazorGrid``` using NPM run the following command\n```\nInstall-Package BlazorGrid\n```\nTo install ```BlazorGrid``` using .NET CLI run the following command\n```\ndotnet add package BlazorGrid\n```\nAfter you have installed the package add the following line in the ```_Imports.razor``` file\n```\n@using BlazorGridComponent\n```\n# Sample usage\nThe ```\u003cBlazorGrid\u003e``` component accepts following parameters\n-\t**Items** : The list of items supplied to the BlazorGrid.\n-\t**PageSize** : Size of each page of BlazorGrid. This is a required field.\n-\t**GridHeader** : Header for BlazorGrid.\n-\t**GridRow** : Rows for BlazorGrid.\n\nRefer to the sample code below:\n\n```\n\u003cBlazorGrid Items=\"@forecasts\" PageSize=\"4\"\u003e\n\t\u003cGridHeader\u003e\n\t\t\u003cth\u003eDate\u003c/th\u003e\n\t\t\u003cth\u003eTemperatureC\u003c/th\u003e\n\t\t\u003cth\u003eTemperatureF\u003c/th\u003e\n\t\t\u003cth\u003eSummary\u003c/th\u003e\n\t\u003c/GridHeader\u003e\n\t\u003cGridRow\u003e\n\t\t\u003ctd\u003e@context.Date.ToShortDateString()\u003c/td\u003e\n\t\t\u003ctd\u003e@context.TemperatureC\u003c/td\u003e\n\t\t\u003ctd\u003e@context.TemperatureF\u003c/td\u003e\n\t\t\u003ctd\u003e@context.Summary\u003c/td\u003e\n\t\u003c/GridRow\u003e\n\u003c/BlazorGrid\u003e\n```\n```\n@functions {\n    WeatherForecast[] forecasts;\n\n    protected override async Task OnInitAsync()\n    {\n        forecasts = await Http.GetJsonAsync\u003cWeatherForecast[]\u003e(\"sample-data/weather.json\");\n    }\n\n    class WeatherForecast\n    {\n        public DateTime Date { get; set; }\n        public int TemperatureC { get; set; }\n        public int TemperatureF { get; set; }\n        public string Summary { get; set; }\n    }\n}\n```\n# Sample Output\n![Alt Text](https://github.com/AnkitSharma-007/BlazorGrid/blob/master/BlazorGridComponent/BlazorGridDemo.PNG)\n# Feedback\nFeel free to use this component and provide your valuable feedback. If you encounter any bugs open an issue and discuss.\n# BlazorGrid blog \nTo learn how the BlazorGrid is created refer to my article https://ankitsharmablogs.com/blazorgrid-reusable-grid-component-for-blazor/\n# Release notes\n**1.1.0**\n\u003e - Updated license \n\n**1.0.0**\n\u003e - Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnkitSharma-007%2FBlazorGrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAnkitSharma-007%2FBlazorGrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnkitSharma-007%2FBlazorGrid/lists"}