How to use ComboBox as Kendo UI grid column?

前端 未结 4 1627
时光说笑
时光说笑 2021-01-17 02:03

I\'m working with a kendo grid and I\'m trying to make Name field a combobox that has it\'s own datasource. I\'m not getting a javascript error, but when I go to edit the na

4条回答
  •  迷失自我
    2021-01-17 02:31

    For those who "desperately" need a custom editor now and can't wait for next release, just like me... :-)

    ...here is my workaround... change line #12320 of kendo.all.js to this:

    fields: { field: column.field, format: column.format, editor: column.editor },
    

    ...and voilà! Now the "editor" setting for the column makes effect!


    I wrote the above message at http://www.kendoui.com/forums/ui/grid/how-to-define-memo-style-editor-for-grid-cells.aspx#1938316

    It was January 6 2012, and the current release was v2011.3.1129

提交回复
热议问题