Hi,
I am looking for a multicolumn combobox with in grid cell. Am using ver 2010.2
I was trying to mix the feature in zip file "testXamComboMulti.zip" attached with artical http://blogs.infragistics.com/forums/p/26793/98421.aspx with "XamComboEditor in DataRecord Cells" sample that comes with infragistics installation, could not find a way to make it work.
On selection of a row in dropdown grid, one of the column value in selected row should be set as main grid cell displaytext and a different column value in selected row should be set as main grid cell's value.
Appreciate any help.
Regards
Hi
Here is the sample that I mentioned to you that demonstrates that when applying an editor style to a column it will be repeated in the add new row.
I added comboEditors to the grid layout and by customize the style I was able to include the multicolumn layout to the comboEditor that you were asking about.
Your other question was how to cause the newAddRow to contain a xamComboEditor for a column that otherwise show text, not a comboEditor.
Here is the description of the solution that our development staff provided.
Create a custom CellValuePresenter style that contains a Style Trigger which looks at the IsAddRecord property of the associated record (the Record is the DataContext of the CellValuePresenter). If IsAddRecord is true, then set the Template to a Template that contains a ComboBox.
Then use this custom CellValuePresenter style for each string Field where they would like to use a ComboBox.
I had phone conversation with you today and I am adding a note that you want the xamcombobox to appear only in the addnew row of the grid.