I am making use of a virtual table to hold and display a huge result set which is around 7lacs.
And later I try to reset the table to its initial state releasing the 7lac result set using the following code.

tv.getTable().clearAll();
tv.getTable().setItemCount(0);

Ideally setItemCount() should clear the existing cache, as it is setting the cache size to 0.
But I still see the cachedelements holding the huge resultset resulting in performance issues.

Could any clarify how to clear the cached elements in a virtual table.
Thanks in advance,

"manasa" <manasa.priya.c@sap.com> wrote in message
news:ikl8oo$n3v$1@news.eclipse.org...
> Hi,
>
> I am making use of a virtual table to hold and display a huge result set
> which is around 7lacs.
> And later I try to reset the table to its initial state releasing the 7lac
> result set using the following code.
>
>
> tv.getTable().clearAll();
> tv.getTable().setItemCount(0);
>
>
> Ideally setItemCount() should clear the existing cache, as it is setting
> the cache size to 0.
> But I still see the cachedelements holding the huge resultset resulting in
> performance issues.
>
> Could any clarify how to clear the cached elements in a virtual table.
> Thanks in advance,
>
> Regards,
> Manasa