I want to hold an additional cache of data about my virtual grid in a override class of the GridControl, and whenever the volatile data is reset (via the ResetVolatileData method), I want to also reset my data cache. I noticed in the code that there was a NotifyResetVolatileData event, but it is internal not public or protected. Do you have any suggestions on how I can know when to reset my caches?
if you look at the ResetVolatileData code you also see these lines:
if (gridVolatileData != null)
This is where you can implement a hook. VolatileData is a object that you can replace.
What you should do is derive a class from GridVolatileData and override its Clear method.
You need to assign a instance of your derived volatile data object to the GridModel.VolatileData property.