According to the provided information, I suppose that you don't want to bind RadGridView
to a full collection of data but just provide the necessary data when it is required. For this purpose you can use the virtual mode that RadGridView
offers. additional information is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/gridview/virtual-mode/virtual-mode
However, I would also recommend you to consider using RadVirtualGrid
. It is a grid component developed on top of Telerik Presentation Framework which provides a convenient way to implement your own data management operations and optimizes the performance when interacting with large amounts of data. You specify how many rows/columns you need in the grid and then in the CellValueNeeded
event you should specify the value for the respective row/column index: https://docs.telerik.com/devtools/winforms/controls/virtualgrid/working-with-data/virtualgrid-populating-with-data
Feel free to use this control which suits your requirements best.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
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.