Unplanned
Last Updated: 18 Aug 2021 08:17 by ADMIN
Steven
Created on: 11 Aug 2021 10:54
Category: Grid
Type: Feature Request
1
Allow loading data in the Grid's foreignkey column editor on editing, as opposed to initially

Currently the ForeignKey column expects data to be loaded in it initially. This could be either local data or remote data.

For scenarios that involve using large data, it would be helpful if we can have more flexibility with the way data is loaded in the column's editor (e.g., DropDownList). For example, we want to use cascading ForeignKey editors. Once a selection is made in the first dropdown, the second cascades and is loaded with the respective data. This is not viable at the moment, because the data must be supplied to the ForeignKey column initially. If an empty collection is passed initially:

columns.ForeignKey(c => c.Field1, new List<SelectListItem>(), "Value", "Text").Width(100);

and the dropdown is then loaded with data after the Grid's Edit popup opens, the ForeignKey column will display the DataFieldValue as text, because no initial data has been provided.

An option to load data on demand would be a welcome performance enhancement.

1 comment
ADMIN
Eyup
Posted on: 18 Aug 2021 08:17

Hi Steven,

 

Thank you for sharing your idea with our community.

 

Regards,
Eyup
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.