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

Change the default form of a grid

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 03 Jun 2014, 10:47 AM
Hello,

I have a problem in my grid widget. In fact, I would like to know how change in a grid the default form which run with edit button (generated by the edit command), to a custom form.

I have tried to customize this by editable field with the template function, but where the template is store in an external file. Is it possible to addres this file in the template function ?

example : editable: {
mode: "popup",
template: kendo.template($("../../Views/Materiel/#popup-editor").html())
}


Best regards,

Kevin Quinton

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 05 Jun 2014, 07:07 AM
Hello Kevin,

If I understood correctly you would like to load a template from external file. If that is the case please check this help topic as it explains how this can be done.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or