Hi,
We need to change the behavior of ComboEditor and the required behavior should work like this.
"When user focus on the empty textbox of ComboEditor, then it should open the dropdown. In case there is some value in the textbox the dropdown should remain closed."
In the sample project attached we have extended the behavior of XamComboEditor(XamEditComboValueBehaviour). On Focus we check if the value is null or empty then open the dropdown else just let it be as it is. The issue is that the dropdown opens even though there is value in textbox. If you select a row in the grid, on selection change it sets the value of the interviewer in the comboxEditor textbox but it also opens the dropdown as well. Kindly could you suggest where is it going wrong. Your help will be really appreciated.
Thanks.
Hi Gottfried,
You are certainly welcome. If you have any further questions, please let me know.
Warm regards,
Chris K.
Hi Chirs,
That solution did work after making few changes in our XamEditComboValueBehaviour. Thanks for quick response.
I took a look at your sample and I’ve modified it to produce the behavior that you were interested in.
I’ve determined that by taking advantage of the XamComboEditor’s OpenDropDownOnTyping property, (setting it to false) and limiting drag selection on the grid, by setting its SelectionTypeRecord to SingleAutoDrag, (exposed from FieldLayoutSettings) that you could eliminate several lines from your behavior code and also makes this customized behavior was possible.
Please take a look at the attached sample and if you have any further questions, please let me know.