{"id":13763803,"url":"https://github.com/maxkoshevoi/DrawnTable","last_synced_at":"2025-05-10T17:31:10.813Z","repository":{"id":54408597,"uuid":"157631223","full_name":"maxkoshevoi/DrawnTable","owner":"maxkoshevoi","description":"WinForms control based on PictureBox for creating versatile tables","archived":false,"fork":false,"pushed_at":"2023-05-24T17:20:53.000Z","size":16108,"stargazers_count":27,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-07T07:35:47.890Z","etag":null,"topics":["custom-control","datagrid","table","winforms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxkoshevoi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-15T00:54:07.000Z","updated_at":"2025-04-19T09:15:11.000Z","dependencies_parsed_at":"2024-08-03T15:02:48.551Z","dependency_job_id":"bc95e57a-a25a-4c8e-bfed-8e84a22fba72","html_url":"https://github.com/maxkoshevoi/DrawnTable","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkoshevoi%2FDrawnTable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkoshevoi%2FDrawnTable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkoshevoi%2FDrawnTable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxkoshevoi%2FDrawnTable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxkoshevoi","download_url":"https://codeload.github.com/maxkoshevoi/DrawnTable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253453226,"owners_count":21911062,"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":["custom-control","datagrid","table","winforms"],"created_at":"2024-08-03T15:00:59.788Z","updated_at":"2025-05-10T17:31:05.804Z","avatar_url":"https://github.com/maxkoshevoi.png","language":"C#","readme":"# DrawnTable\nCustom WinForms control based on PictureBox for creating versatile tables.\u003cbr/\u003e\nIt's fast, uses almost no memory, doesn't have any dependencies, and not limited by limitations of WinForms since it draws itself from scrach.\n\n![Demo app](https://raw.githubusercontent.com/maxkoshevoi/DrawnTable/main/Images/Screenshot1.jpg)\n\n## Installation\n\nGet it from NuGet: [![NuGet](https://img.shields.io/nuget/vpre/DrawnTable.svg?label=NuGet)](https://www.nuget.org/packages/DrawnTable/)\n\n## Features\n- Cell Drag \u0026 Drop\n- Subheaders\n- Cell Copy \u0026 Paste (using Ctrl + drag)\n- Headers can span multiple rows (or columns)\n- Cells can span multiple rows\n- Cells can overlap each other (they will be merged or replaced placeholder)\n- Cell styling (font, backound color, margin, text aligment)\n- Table styling (font, background color, border color)\n- Printing support (you can print the table or draw it using your `Graphics` instance)\n- Cells can be disabled (user cannot interact with them)\n- ToolTip for cells\n- Supported events:\n  - CellWithValueClick, CellOverlapPlaceholderClick\n  - CellCreating, CellCreated\n  - CellCopied, CellPasted\n  - CellDragOver, CellDragDropFinished\n  - CellsMerging\n\n## Initialization\n\nBefore using the control you need to initialize it by providing list of row and column configurations:\n```cs\ndrawnTable.Table.Create(Rows, Cols);\n```\n\nThere is `HeaderCreator` class that can help you create those configurations. For example here's how to generate headers for a range of dates, and then get header index for some date:\n```cs\nHeaderCreator headers = new();\nvar columns = headers.Day.GenerateHeaders(dayStart, dayEnd, colFilter, \"dd.MM, dddd\");\n...\nint columnIndex = headers.Day.GetIndexByValue(date);\n```\nSee demo appication for more usage samples.\n\n![Demo app](https://raw.githubusercontent.com/maxkoshevoi/DrawnTable/main/Images/demo.gif)\n","funding_links":[],"categories":["Grid View / Lists / Tables"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkoshevoi%2FDrawnTable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxkoshevoi%2FDrawnTable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxkoshevoi%2FDrawnTable/lists"}