Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Lazy initialisation of grid

On 8/7/07, Christopher J Gross <chris.gross@xxxxxxxxxx> wrote:

Hi Jonathan,

The Grid supports SWT.VIRTUAL that would primarily work for your scenario.  The virtual functionality will work like Table.  This will tell you when a row's data is required.  This should likely be enough but does not have a method to let you know when you can release data that is no longer necessary.  It is something you could reasonably do yourself.  Perhaps just set a limit on the # of model classes you want at any given time and when new data is required, release the least recently accessed models to make room.  

Regards,
-Chris

I have tried this out but it doesn't seem as the SWT.SetData event fires. Is this feature not implemented yet?

--
// Jonathan

Back to the top