Hi,
I use a Tab as main layout of ma app.
When I open a Tab which contains ListGrid then it fetches data into a ResultSet.
After closing and opening the tab. I create new Tab() constructor as well as new ListGrid on it. Those object have the same ID as the previous Tab which has been closed.
When I call new ListGrid. I don't mind that it reuses a component in memory for optimalization but I have a problem that it reuses loaded ResultSet.
When I call new ListGrid I'd like to have listGrid.invalidateCache() called automatically.
This issue is with many input components which holds some values i.e. ResultSet or FormItems.
What can I do in order to disable this side effect?
I uses the official SmartGWT 2.5 release.
I use a Tab as main layout of ma app.
When I open a Tab which contains ListGrid then it fetches data into a ResultSet.
After closing and opening the tab. I create new Tab() constructor as well as new ListGrid on it. Those object have the same ID as the previous Tab which has been closed.
When I call new ListGrid. I don't mind that it reuses a component in memory for optimalization but I have a problem that it reuses loaded ResultSet.
When I call new ListGrid I'd like to have listGrid.invalidateCache() called automatically.
This issue is with many input components which holds some values i.e. ResultSet or FormItems.
What can I do in order to disable this side effect?
I uses the official SmartGWT 2.5 release.
Comment