Outlook Style DataGrid

(iGrid.NET Control Tour, Step 4 of 6)

iGrid.NET is a first-class Microsoft Outlook style datagrid for WinForms:

MS Outlook-style datagrid for WinForms

One of the distinctive features of the Outlook grid is message preview inside the message list. As you can see from the picture, our WinForms grid provides you with this functionality through its so called row text cells. The row object in iGrid has the corresponding row text cell, and you can optionally display it below the normal cells of the row - like message preview in Outlook datagrid. Note that you can specify whether this Outlook-style datagrid cell is displayed individually for every row, and its height can also vary from row to row.

A useful option for the whole Outlook-like grid is the ability to specify the start and end columns to display the contents of row text cells. For instance, the screenshot of the Outlook-style datagrid above demonstrates that the first 3 columns aren't used to emulate the Microsoft Outlook message preview - they are used for message icons. The same concerns the last column: it's a flag cell which occupies the whole row height.

The row text cells have the same properties like the normal cells, so all iGrid.NET cell formatting options (font, custom colors, text trimming, etc) can be applied to them.

Another interesting functionality you can find in our Outlook style datagrid is the ability to group values into intervals. An example of that is the Size column in Microsoft Outlook. If you group the Outlook grid by this column, size intervals like Small, Large or Enormous are used to get a more handy representation for the user. The screenshot at the top also illustrates how it is done in our Outlook-like grid.

Visit other pages of the control tour to know what else features are available when you emulate Outlook style datagrid.

Code samples for our WinForms grid (page 4 of 5) »