I have a combo drop down configured in a grid.
My requirement is that when the editor is opened that it display an empty value instead of the first item in the list. Is there a setting or easy way to to do this?
I don't like the solution that I have come up with which is adding a empty element to the data source that is bound to the combo.
Found my own answer instead of using "mode:combo" change that setting to "buttonType: dropdown",
columnKey: "CategoryID", editorType: 'combo', required: true, editorOptions: { buttonType: "dropdown",
//mode: "dropdown", dropDownOnFocus : true, autoSelectFirstMatch : false, closeDropDownOnBlur: true, dataSource: northWindCategoriesJSON, textKey: "Name", valueKey: "ID" } }
Hello John,
Thank you for sharing this with the community.
I am glad that you have managed to resolve this.
Let me know if you have any further questions.