Summary: A grid that allows you to group and arrange data items, much like Outlook.
Operating environment: C#,windows (Win2K, WinXP, Win2003),. NET (. NET 2.0)
Win32, VS (VS2005), WinForms Dev
Brief introduction
If you're dealing with a list of 100 items (for example, mailing lists in your inbox), filtering, searching, sorting, and other grouping functions will quickly become difficult and tedious. ".". In particular, sorting and grouping greatly improves the structure of data items in a list, which by default is the feature I want to apply to all my lists. In particular, I would also look for a control that allows similar items to be arranged and grouped together in a list/grid, much like a grid (or list) used in Outlook 2003. )。
I know there are some business listings/grids (controls) that support this type of functionality, but I've also encountered several bugs while trying them out. No access to source code (for commercial purposes) makes this very frustrating, so I think I'd rather write a codeproject article to see if I can come up with a custom solution.
Because the grid is more flexible than the list, I decided to implement a grid control that can be grouped together, just as Outlook does. This control is implemented with c#2.0 on vs 2005. Now, I can't guarantee that this implementation has no bugs, but at least it's free, and it has the source code. As a result, you can modify them to suit your own purpose, depending on your needs. Anyway, be aware that this control is not finished! Some functions may not work correctly or completely. The control focuses on sorting, grouping, and displaying data items on the grid, which I think have done quite well. Inserting, updating, and deleting rows and cells in a grid is not within my consideration.
In this article, I'll explain how the control is used, what it can do, what it does, and what it can't do, focusing mainly on the development group that wants to reuse the control just as it is. Then, for developers who want to extend or change the implementation of this control for their own purposes, I'll do a little more detailed explanation of how the control works inside.