This is a migrated thread and some comments may be shown as answers.

Custom Editor with Combo Box

0 Answers 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dark
Top achievements
Rank 1
Dark asked on 03 Aug 2012, 10:14 PM
Hello I am testing out several UI sets for JQuery. I am really impressed with Kendo. But I am having trouble with a custom editor. I was able to get a date picker working in the grid, just not a combo box. Here is my code. It shows the box, just doesn't return the selection. I based this off your example, but can't make it work. function statusDropDownEditor(container, options) {        $('<input data-text-field="StatusName" data-value-field="StatusName" data-bind="value:' + options.field + '"/>')             .appendTo(container)             .kendoComboBox({                   dataTextField: "text",                     dataValueField: "value",                     dataSource: [                         { "text":"Open", "value":"opn" },                         { "text":"Approved", "value":"app" },                         { "text":"Declared", "value": "dec" },                         { "text":"Dispursed", "value": "dis" }                     ]});     }   This shows the drop down, however it doesn’t put the newly selected item in the field.   I am unsure as to why it wouldn’t.  Also - can I have columns protected based on the row they are on, for example on row one they are editable, but not row two? Thanks.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Dark
Top achievements
Rank 1
Share this question
or