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

Why doesn't this column have a columnMenu?

2 Answers 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jordon
Top achievements
Rank 1
Jordon asked on 01 May 2013, 01:15 AM
Hi, 

I am defining some columns for a kendogrid
            sortable: true,
            columnMenu: true,
            resizable: true,
            scrollable: false,
            columns: [
                { field: 'Owner', title: 'Owner' },
                { title: 'W-M', template: '#= WeightCarried # | #= Medication # '},
            ]

Why does the Owner column have a columnMenu, is resizable, and sortable, but the other column cannot do any of these?

Is this a limitation when using a template? Or am I simply missing some additional option?

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 01 May 2013, 07:15 AM
Hello,

 The column menu shows only columns that have their field option set. Here is a demo using your configuration: http://jsbin.com/oyayas/1/edit

Greetings,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jordon
Top achievements
Rank 1
answered on 01 May 2013, 04:09 PM
Thanks!, I thought it was something like that but i assumed that since I was using a custom template for the column I wouldn't be able to set the field value.
Tags
Grid
Asked by
Jordon
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jordon
Top achievements
Rank 1
Share this question
or