Hello,
Is it possible to display a RadGridView inside a cell? The grid should take data from cell (data will be splitted by columns and rows, not many, just a couple of rows per cell, 3 columns) I was considering examples of custom cells provided but without success. Could I get any clues how to proceed if it is feasible at all, please?
Thanks
Wojciech
4 Answers, 1 is accepted
This is possible by creating a custom cell and adding a grid control by using a RadHostItem. I have attached an example that shows this.
This approach is not recommended since it will make the control really heavy. Could please share more information about your desired layout. Perhaps there is another solution that we can suggest.
I am looking forward to your reply.
Dimitar
Progress Telerik
Hello Dimitar,
Thanks for the example - it performs the operation I need, however, what you said about the load the control can cause was my primary fear as my grid can contain up to about 1000 rows which might make it slow.
What I need to achieve is exposed in attached file.
I will give a try to the original idea anyway to find out how it works with my data.
Wojciech
Dimitar,
I have disabled columns headers, disabled grouping in the example you provided, added 1000 rows and the grid is smoothly scrolled now. Seems like these two options had impact on the control load.
Thanks for sharing this info. I will keep that in mind.
Please note that the performance will depend more on the currently visible rows than total rows count. This is because of the UI Virtualization and cell elements will be created only for the currently visible cells.
Should you have any other questions do not hesitate to ask.
Regards,
Dimitar
Progress Telerik