Taibe
Posted
on May 15, 2012
(permalink)
I have a need to show a table-like representation of a list of data within a cell of my gridview. The gridview is bound to a custom collection of objects and I need one cell to show codes related to the object. It should show the codes as a 3-column table (or list) with columns: ID Code Description. I can't use a nested gridview for this because the user should not have to expand anything in order to view the codes - they need to be visible directly in the main gridview's cell. The gridview is read-only. Is there any way I can accomplish this?
Thanks!
TJ
Reply
Posted
on May 15, 2012
(permalink)
Hello,
You might want to look at creating a custom cell to do this. Please have a look at the
documentation on custom cells here
Hope that helps
Richard
Reply
Taibe
Posted
on May 15, 2012
(permalink)
Richard,
Thank you for your reply. I think that I will need to create a custom cell. I'm thinking of using the RadListElement within the cell. Can you advise me on how to databind it to the list of codes that is a child of the object in my custom collection? My object hierarchy looks something like this:
Order (List) - my grid is bound to the list of Orders
Payment - each order has a Payment
Codes (List) - each Payment has a list of Codes. I want to bind the ListElement in my custom cell to this list of Codes
Thanks,
Taibe
Reply
Posted
on May 17, 2012
(permalink)
Hello,
Please see my answer to your other post at
this link
When possible, it's best just to open one forum post on a subject which will allow Telerik to review the threads quicker.
I hope the answer in the other thread is useful
Richard
Reply
Taibe
Posted
on May 17, 2012
(permalink)
Thank you, Richard. Your answer was awesome - exactly what I need to do. I'm sorry about the double posting - am a newbie to the Telerik forums.
Reply