royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <>
Subject List, MDL Table - How to remove all content
Date Mon, 04 Dec 2017 21:53:23 GMT
Hi Guys,

I have faced an issue where solution seems to be not so easy. I have MDL
Table (issue affects also List) with some rows.

If I simply assign to dataProvider = null it doesn't remove all content. It
is because in our DataItemRendererFactoryForArrayData and other type of
that class we have in listeners of  "dataProviderChanged" this code [1].
Basically if we assign null to dataProvider we are not cleaning up item
renderers, but should we ?

Maybe there should be separate bead which allow to do such operations ?

Thoughts ?

[1] * <>*


Piotr Zarzycki

Patreon: *

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message