------------------------------------------------------------------------
 One-to-Many Combos Sample for iGrid ActiveX
 
 Control Version: 3.0
 Environment: Visual Basic 6

 Copyright (c) 10Tec Company. All rights reserved.
------------------------------------------------------------------------

Description
===========
Sometimes you need to select one value in a row from a list of possible values, and after that make a choice from another list related to the selected value in another cell in the same row. Something as one-to-many relationship, when the contents of the second list depends on the choice in the first list.

This sample demonstrates how to implement that functionality in iGrid ActiveX.

Short Code Explanation
======================
iGrid allows you to format each cell individually, and we use this feature to assign the second list to the required cell dynamically based on the choice in the main list. We just prepare the required sublists before that and simply assign the required sublist to the cell of the 2nd choice when the value in the 1st cell has been changed in the AfterCommitEdit event.

The key point is that you should have as many iGrid combo lists which represent your sublists as it can be in your app, not one combo list. That is because you will need to assign to the 2nd cell these lists individually in each row. If you had one combo list for all cells in the 2nd column and modify it on the fly, it would affect all the cells in this column and you would lost the items in the other rows.
