I have a grid that is databound to an object that stores a string of IDs that relate to another lookup list. So I want a cell bound to this ID pointer column to have a simple multi-select list of display values that when closed puts a delimited string of id values in the bound cell.
I'm also wondering where i should first go to look for answers to this kind of question since i've spent a couple hours looking for help on this and cant find anything except some forum posts that kinda relate but don't really tell me everything i need to implement this correctly.
Hi,
Here's a link to an article on the Infragistics KnowledgeBase that should answer your question.
HOWTO:What is the best way to place a DropDown list in a grid cell?
There are also samples included with NetAdvantage that demonstrate using a ValueList (which is probably what you will want to use in this case).
And if you have questions and can't find answers in the sample or the documentation or the KB, please feel free to post hers in the forums and I will try to point you in the right direction. The WinGrid's object model is pretty huge, so there's a big learning curve, but we are here to help. :)
MULTI-selectable drop down
I've been able to do a regular drop down
Sorry, I seem to have missed that part of your question. :)
There's a sample that demonstrates how to create a multi-select combo under the WinEditors samples.
...\2010.2\Samples\WinEditors\CS\MultiSelect Combos CS
...\2010.2\Samples\WinEditors\VB\MultiSelect Combos VB
I can't seem to find a sample of doing this in the grid, oddly enough. But basically, all you have to do is create the UltraComboEditor and assign it to the grid via the EditorComponent property on the grid column. The grid cell becomes the edit portion of the combo and handles the value just as the standalone combo does.
found the download i needed to install
I can't find the Samples Directory you're referring to. I have 2010.1 do they not come in this?
C:\Program Files (x86)\Infragistics\NetAdvantage 2010.1\Windows Forms