hi,
i have created a field in xamdatagrid as a xamcomboeditor. Now when i click on the dropdown button, the first click changes the cell into edit mode and only the 2nd time i click on the button the dropdown will appear. Is there anyway to show the dropdown on the first click? I was thinking something like force the cell into edit mode while mouse over it but would appreciate the correct approach.
thanks,
Guo
Hi Yanko,
thanks for your reply.
Unfortunately, i have to work in a certain framework that puts python on top of wpf which means i have to write everything in code.
i create below python which is essentially .Net syntax for what you suggested -- didnt really work out. In fact we had done the same with Xaml before but just had issue with re-creating this in code. Therefore, could you see if you can spot anything missing from below
cvpStyle = Style(CellValuePresenter().GetType())controlTemp = '<ControlTemplate xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" 'controlTemp += 'xmlns:igEditors=\"http://infragistics.com/Editors\">'controlTemp += '<igEditors:XamComboEditor ItemsProvider=\"{StaticResource '+field.Name +'ComboItemsProvider}\" 'controlTemp += 'Style=\"{DynamicResource comboBoxStyle}\"/>'controlTemp += '</ControlTemplate>'cvpStyle.Template = XamlReader.Parse(controlTemp)field.Settings.CellValuePresenterStyle = cvpStyle
Thanks,
Hello Guo,
I have been looking into your question and I can suggest you look through the following forum thread where Krasimir has provided a sample application in which the XamComboEditors enter in edit mode in single click :
http://es.infragistics.com/community/forums/p/60491/306995.aspx
If you need any further assistance on this matter, feel free to ask.