Basic Grids

Published 26 June 4 10:35 PM | GregLow
Repost from 13th March 2004Was looking for a really basic (ie lightweight also) grid control. In VB6, we used to use the MS Flexgrid. It was ok but a bit too basic. For example, you needed to handle all keystrokes yourself.

It's a pity a non-bound grid wasn't part of the standard toolkit for Windows Forms in .NET.

However, the VB Resource Kit for .NET (free) includes a number of cool components. The one that provided the answer was the FlexGrid from Component One. Having now worked with it for a few days, I really like it. It's simple and it seems to work. It's well upgraded since the version in VB6. They also include a FlexGrid Classic which is closer to the old control but I like the enhancements they've made to the new one. Very easy to use and the help file for it gets installed into the standard help in VS.NET. The help file was also "helpful" which is always a good thing :-)

A few things about using it weren't too intuitive (like setting different colors for individual rows) but the help file had examples.

Recommended if you need a lightweight grid!