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

Usin combobox nested

0 Answers 117 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Juan
Top achievements
Rank 1
Juan asked on 04 Apr 2012, 08:56 PM
Hi, somebody knows like using 2 combobox nested???

I have a grid with 2 combobox, and I need binding the second combobox to first combobox:

            $("#grid").kendoGrid({
                dataSource: DowsSharedDataSource,
                height: 400,
                autoSync: true,
                pageable: false,
                scrollable: false,
                navigatable: false,
                selectable: "row",
                sortable: false,
                change: onChange,
                editable: "popup",
                columns: [
                    {field: "CMFault_Desc", title: "Fault Desc" },
                    { field: "RT_Id1", editor: reasonComboEditor, title: "Reason 1" },
                    {field: "RT_Id2", editor: reasonComboEditor, title: "Reason 2" },
                    {command: ["edit"], title: " ", width: "190px" }
                ]
            });

            function reasonComboEditor(container, options) {
                $('<input name="' + options.field + '"/>').appendTo(container).kendoComboBox({
                    dataSource: ReasonTreeSharedDataSource,
                    dataValueField: "Id",
                    dataTextField: "Descr",
                    autobind: false
                });
            }

Tks.

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Juan
Top achievements
Rank 1
Share this question
or