tags:

views:

749

answers:

6

Really all I need is 2 columns. The first column will have some text and the second column needs to have a combo box in it which will allow users to pick from it.

Bonus if the control is free.

+2  A: 

Isn't this what datagrid provides in VB6?

shahkalpesh
It does not provide any ability to do drop downs.
AngryHacker
shahkalpesh
+2  A: 

We use the VSFlexGrid, IIRC written by the people who wrote the MSFlexGrid which ships with Visual Studio but with more features, including in-cell combos.

On another project I wrote code to 'fake it' using a hidden combo and the free MSFlexGrid: in the grid's _Click event, move and size the combo to fit the cell (taking account of scroll bars if necessary), set the ZOrder (bring to front), make Visible and SetFocus.

onedaywhen
Yeah, I have a project where I did that as well. It just felt dirty at the time.
AngryHacker
+2  A: 

Janus Grid (http://www.janusys.com/janus/library/HTMLFiles/GridEX2000/GridEX2000.htm), supports this, but it is not free

Dinesh Manne
+2  A: 

Have you checked out the S-Grid from VBAccelerator?

Got a good performance comparison too - article.

Kieron
Adding dropdowns is pretty straightforward. I've used this a lot and love it.
Another vote for this control. It's very stable and robust. We use it at work to support lazy loading of datasets that are very large (would take ~50sec to load from a local SQL server instance)
rpetrich
+1  A: 
Shane
+1  A: 

Here's a free grid that is implemented as a single-file control with no dependencies. it is reasonably light weight and easy to implement.

LynxGrid