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

Using different model for view and update Popup dialog in Grid.

1 Answer 372 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Le Khanh
Top achievements
Rank 1
Le Khanh asked on 11 Nov 2013, 01:37 PM
Hi all,

For a large data, i use a model with a little fields for display. In case, customer click one row in grid and choose update button the edit popup will show up. In this popup dialog, i want to use another model with full fields (from database) to change information but i dont know how and where to swith to new model for edit popup.

Please, help me to solve this problem.

Regards,
Lee

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 11 Nov 2013, 03:13 PM
Hello Lee,

 The Kendo UI grid will display only the fields bound to columns. You can create a custom editor template for the pop and show the remaining fields. Customizing the editor template is shown here.

 Using a different model for editing is not supported.

Regards,
Atanas Korchev
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
Le Khanh
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or