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

Add WYSIWYG into kendo grid popup column

2 Answers 165 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bertha
Top achievements
Rank 1
Bertha asked on 17 Jul 2015, 01:47 PM

I want to add KendoEditor to my popup of custom-edit of 1 column field inside my kendo grid. I could add textarea successfully but don't know how to add kendoEditor to replace textarea.

{ field: "Description", title: "Description", id:"desc", attributes: { style: "text-align:left" }, editor: textareaEditorB }, 

function textareaEditorB(container, options) {
    $('<textarea data-bind="value: ' + options.field + '" cols="100" rows="18" maxlength="10000"></textarea>').appendTo(container);
    // $('$("#desc").kendoEditor()').appendTo(container); <==?????
}

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 20 Jul 2015, 11:52 AM
Hi Bertha,

Please take a look at this demo, which showcases practically the same scenario, but with a DropDownList instead of an Editor:

http://demos.telerik.com/kendo-ui/grid/editing-custom

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Bertha
Top achievements
Rank 1
answered on 20 Jul 2015, 02:25 PM
Thanks.  It works perfectly.
Tags
Grid
Asked by
Bertha
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Bertha
Top achievements
Rank 1
Share this question
or