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

Dropdown not populating in grid

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mathew
Top achievements
Rank 1
Mathew asked on 25 Feb 2013, 05:31 AM
When i used this method http://demos.kendoui.com/web/grid/foreignkeycolumn.html, to show the dropdown it fails

This i my structure
var dataAction = eval("(" + Jsondata+ ")");

function BindEquipmentGrid() {
    //Create equipment grid
    $("#EquipmentGrid").kendoGrid({ // create Grid from div HTML element Kendo        
        selectable: "row",
        sortable: {
            mode: "multiple", // enables multi-column sorting
            allowUnsort: true
        },
        resizable: true,
        columns: [
                    {
                        field: "Feild1",
                        title: "Feild1",
                        width: 160
                    },
                    {
                        field: "Feild2",
                        title: "Feild2",
                        width: 180
                    },
                                    { title: 'Action', field: 'ActionId', width: 200, values: dataAction },
                ],
        editable: true
    });
}

But the result it shows is [object][object] on cell select

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 26 Feb 2013, 03:26 PM
Hello Mathew,

I am not sure I understand the exact issue that you have. Could you please put this int a jsbin so we can better understand and search for solution?

Thank you for the cooperation.

Kind Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Mathew
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or