All Components
Theme

Themes

    Grid / ForeignKey column

    Description

    In this demo we showcase how to implement foreign key column in the Kendo UI grid, hosting dropdown list editor for data editing.

    The column in question is defined via a key field (CategoryID). Through the column definition you set the key field as Field attribute, and the values attribute points to the source data for the items displayed in the dropdown list editor of that column. The editor items should have matching values of the same type as the key field (CategoryID in this case).

    See the relevant API section of the docs for more info.

    HTML5/JavaScript source

    Also available for:

    API Reference
    • foreignkeycolumn.html
    • Sample service
    • Widget configuration

    Support & learning resources

    Grid for other technologies