Outlookgrid: Grouping and arranging data items in Outlook styles

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.