Hi Vinod,
The attached sample demonstrates VirtualMode and WithoutCounter optimization. Based on the schema that you specify the engine will determine if certain optimizations can be applied. So, if you have a flat table and don’t sort the records, then the VirtualMode will be applied and the records don’t have to be touched at all (only when drawing).
You will be able to see the automatic switching between the VirtualMode and WithoutCounter mode when you select the “Flat List, Virtual Mode” example. The engine will be initialized using the VirtualMode. Once you sort by a column then the VirtualMode will be turned off but, the WithoutCounter mode will still continue to work. Once you sort by a column then the counters will be enabled.
Please refer to the attached sample for implementation.
EngineOptimizations.zipBest Regards,
Haneef