This event can be handled to provide an inner list that will be storage for rows fetched using the VirtualServerModeSource’s events. To enable CRUD operations in a bound Data Grid, you need to provide an inner list that supports these operations. If no inner list is supplied (or you do not handle the AcquireInnerList event), CRUD operations are disabled in the grid control.
public event EventHandler<VirtualServerModeAcquireInnerListEventArgs> AcquireInnerList
Public Event AcquireInnerList As EventHandler(Of VirtualServerModeAcquireInnerListEventArgs)
The AcquireInnerList event's data class is DevExpress.Data.VirtualServerModeAcquireInnerListEventArgs.
The AcquireInnerList event fires on the VirtualServerModeSource initialization. Handle this event to provide:
- an inner list to which the VirtualServerModeSource automatically saves rows once you supply them with the VirtualServerModeSource.ConfigurationChanged and/or VirtualServerModeSource.MoreRows events;
- functions to perform on batches of rows before adding them to the inner list;
- action to perform when the VirtualServerModeSource is disposed of.
If the inner list supports CRUD operations, these operations are available in the bound Data Grid. If the inner list is not provided, CRUD operations are disabled.