Hello, Aseman, RadVirtualGrid
doesn't provide any integrated server-side operations. Consider it as a container control with cells. When scrolling it (vertical or horizontal), the values only for the visible cells are required and you need to specify the requested value. RadVirtualGrid
provides a convenient public API for populating its cells with data by using the CellValueNeeded
event. When a cell value is required, the CellValueNeeded
event is fired. Considering the demanded RowIndex
you can extract the respective value from your external data source.
It doesn't matter whether it is a DataTable
, a service, a table from the data base, a collection of custom objects. RadVirtualGrid
just needs the VirtualGridCellValueNeededEventArgs.Value
property to be set. It is up to you to extract the relevant data and it is not quite related to RadVirtualGrid
and how to query the data from the server. RadVirtualGrid
just provides the public API for filling the data on demand but the data-operations has to be performed outside the grid itself.
Should you have further questions please let me know.
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.