I need to think about this for a bit because I’m fiddling with this bit of code 
in List. I’ll get back to you in my tomorrow. 

Peter 


> On Dec 4, 2017, at 4:53 PM, Piotr Zarzycki <piotrzarzyck...@gmail.com> wrote:
> 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] 
> *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F6qVy&data=02%7C01%7Cpent%40adobe.com%7C05ca01d43a8448485bd508d53b617760%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636480212164499199&sdata=6mmrQ1g5CRuRmRyRpSLNil3LUn93jAKTJVI6RHSocL8%3D&reserved=0
>  
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2F6qVy&data=02%7C01%7Cpent%40adobe.com%7C05ca01d43a8448485bd508d53b617760%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636480212164499199&sdata=6mmrQ1g5CRuRmRyRpSLNil3LUn93jAKTJVI6RHSocL8%3D&reserved=0>*
> 
> Thanks,
> -- 
> 
> Piotr Zarzycki
> 
> Patreon: 
> *https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C05ca01d43a8448485bd508d53b617760%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636480212164499199&sdata=Lh5NSyP1MPIG6h5X4eG9RW3MWcQMiMBDevLzt8WoPS4%3D&reserved=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C05ca01d43a8448485bd508d53b617760%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636480212164499199&sdata=Lh5NSyP1MPIG6h5X4eG9RW3MWcQMiMBDevLzt8WoPS4%3D&reserved=0>*

Reply via email to