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

[Solved] Use different datasource for edit / create popup

1 Answer 170 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 14 Jan 2015, 10:03 AM
Hi

How can I define to load a different datasource for the edit popup and create popup?

http://dojo.telerik.com/opiy

Purpose: I show a grid of clients with 10 fields, the edit windows however contains 60 fields for each client which is why this is stored in a different table and connected via ID.


Many thanks

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 16 Jan 2015, 08:45 AM
Hello Markus,

I am afraid that what you would like to achieve is not supported out of the box - by default a given Grid widget can have only one dataSource instance.

You may request all 60 fields with the Grid read request and display only 10 of them by configuring the columns configuration option. On edit you may display all the fields using editor template, the edited data will be submitted through the update/create transport.

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
Markus
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or