cascadeFrom String

Use it to set the Id of the parent MultiColumnComboBox widget. Help topic showing how cascading functionality works

Example

<input id="parent" />
<input id="child" />
<script>
$("#parent").kendoMultiColumnComboBox({
    dataTextField: "parentName",
    dataValueField: "parentId",
    dataSource: [
        { parentName: "Parent1", parentId: 1 },
        { parentName: "Parent2", parentId: 2 }
    ],
    columns: [
      { field: "parentName" },
      { field: "parentId" }
    ]
});

$("#child").kendoMultiColumnComboBox({
    cascadeFrom: "parent",
    dataTextField: "childName",
    dataValueField: "childId",
    dataSource: [
        { childName: "Child1", childId: 1, parentId: 1 },
        { childName: "Child2", childId: 2, parentId: 2 },
        { childName: "Child3", childId: 3, parentId: 1 },
        { childName: "Child4", childId: 4, parentId: 2 }
    ],
    columns: [
      { field: "childName" },
      { field: "childId" },
      { field: "parentId" }
    ]
});
</script>
In this article
Not finding the help you need? Improve this article