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

Display GridView inside cell

4 Answers 32 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wojciech
Top achievements
Rank 1
Wojciech asked on 13 Sep 2018, 01:51 PM

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

Sort by
0
Dimitar
Telerik team
answered on 14 Sep 2018, 09:09 AM
Hello Wojciech,

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.
 
Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Wojciech
Top achievements
Rank 1
answered on 14 Sep 2018, 09:33 AM

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

0
Wojciech
Top achievements
Rank 1
answered on 14 Sep 2018, 10:40 AM

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.

0
Dimitar
Telerik team
answered on 18 Sep 2018, 05:44 AM
Hi Wojciech,

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
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Wojciech
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Wojciech
Top achievements
Rank 1
Share this question
or