Last Updated: 16 Feb 2024 12:27 by ADMIN
Created on: 29 Apr 2021 09:05
Category: PropertyGrid
Type: Feature Request
RadPropertyGrid: Show nested collections in the SelectedObject

How to create a PropertyGrid and initialize it like this,modify the 'segments' arraies as I modify the 'count'

1 comment
Dess | Tech Support Engineer, Principal
Posted on: 30 Apr 2021 09:06

Hi, Ting,

Indeed, RadPropertyGrid doesn't display the nested collections and properties in the illustrated way out of the box. After some research in general programming forums for similar behavior in the standard PropertyGrid, I have found the following article which I believe would perfectly fit your requirement: https://www.codeproject.com/Articles/4448/Customized-Display-of-Collection-Data-in-a-Propert 

Following the demonstrated approach, I have prepared a sample project to simulate the desired display for the Segments. Here is the result I have achieved:

I have attached my sample project for your reference. Please give it a try and see how it works for your custom requirement.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Dess | Tech Support Engineer, Sr.
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/.