In Article KB07841 it talks about putting a DropDown in a grid cell. Similar to other posts on this forum I have two columns in a grid and the dropdown of the second is dependent on the selection of the first column.
I need to dynamically create the list and store it in the cell of the second column. The standard answer is that you can use a drop down (which I need because I have multiple columns in the drop down) but I can't figure out how to dynamically create an UltraDropDown, it seems to be necessary to have one on the form.
Is there a trick or post somewhere that describes how to have an "unlimited" number of drop downs that I can associate with the cells?
You could create each UltraDropDown object in code, ensure its Name property is set (so you can refer to it later), and add it to the form's Controls collection.
Vince can you be more expecific, and make Link to code or Example that we can use. What you said if I miss understood , I can have 30 ultracombo in the grid that have 3 column and 10 rows. And one dataset for each cell. Can be posible or there other work arround. I can't have one dataset that hold all the possible values like Mike suggest , I can build the dataset dinamically appending all new record to a dataset but that will make a lot of code to handle the logic.