Hello!
First I give you some basic information before I ask a specific question.
We must construct a rather advanced grid so I'm looking and evaluating this Flygrid product to see if this product fulfil our requirement.
One requirement for the grid is the following.
A column consist of several rows and we can just assume we have 3 rows for the first column which has column number 1. Here row 1 for this column 1 have type combobox with checkboxes and row 2 for column 1 has a type combobox only and row 3 for column 1 has a numeric type.
So as you must understand each cell for a column can have or has in most cases different types.
Valid typed for a cell is.
1. Combobox with checkboxes.
2. Just combobox
3. Numerinc
4. string
Another thing that you must understand is the following.
In our database we have different raw material codes that can be changed during runtime. The raw material codes is of type string.
The number of raw material codes can be any number normally somewhere between 5-30. Because the rawmaterial codes can be changed during runtime we can't set these rawmaterial codes in an enum statically. Instead we intend to read all the valid rawmaterial codes into a .NET ArrayList collection.
Now to my question: Assume we have a column consisting of different types for each cell and one cell in this column must be able to display the list of the raw material codes in the collection in a way that the user can select one of these. So the type of the cell would be a combobox.
So don't suggest using enum because the rawmaterial codes can be changed during runtime and don't suggest using a column that has the same type because most of the types each cell for one column has different types.
So is it really possible in some way to display a collection of values by using a combobox so the user can select one of the rawmaterial codes.
Have you any suggstion if it's possible to solve our problem in any way when still satisfying our requirement.
//Tony