Cool! Look forward to your commit! :) Thanks, Piotr
2017-12-07 22:19 GMT+01:00 Peter Ent <[email protected]>: > It looks like, after discussing this with Alex, we will use > DynamicItemsRendererFactoryForArrayListData to refresh and insert items > and if you want to remove items, add in the RemoveItemRendererBead. I'll > probably think of a better name for that one. > > ‹peter > > On 12/7/17, 4:03 PM, "Piotr Zarzycki" <[email protected]> wrote: > > >My thoughts about DynamicItemsRendererFactoryForArrayListData was > >initially > >that this bead allows for Adding and Removing items from List. I just > >didn't have chance to finish it. As I said you can even remove it and use > >your own. > >In whatever direction you will go I just need solution which allows me for > >dynamic add/remove from MDL Table. > > > >Thanks, Piotr > > > > > >2017-12-07 22:00 GMT+01:00 Piotr Zarzycki <[email protected]>: > > > >> Hi Peter, > >> > >> If your new Beads, will be doing also adding, you can even replace my > >> DynamicItemsRendererFactoryForArrayListData. I'm ok in whatever > >>direction > >> you will go. There is an example which is using that bead [1] > >> > >> [1] > >>https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fgithub.c > >>om%2Fapache%2Froyale-asjs%2Ftree%2Fdevelop%2Fexamples% > 2Froyale%2F&data=02 > >>%7C01%7Cpent%40adobe.com%7C7eae28a09fe34ab5601208d53db7 > 93e5%7Cfa7b1b5a7b3 > >>4438794aed2c178decee1%7C0%7C0%7C636482781023742530& > sdata=lCQYe8JT4hVyaM%2 > >>FHWXW3Bo0S737W2Z0l8YiGYs26Kc4%3D&reserved=0 > >> MDLDynamicTableExample > >> > >> Thanks, Piotr > >> > >> > >> 2017-12-07 21:52 GMT+01:00 Peter Ent <[email protected]>: > >> > >>> I'm trying to see if my new RemoveItemRendererBead works with > >>> DynamicItemsRendererFactoryForArrayListData and discovered that this > >>> class is listening to the model for the ITEM_ADDED event. > >>> > >>> The model doesn't dispatch the event - the dataProvider (ArrayList) > >>> dispatches the event. The model dispatches events like > >>>selectedIndexChanged. > >>> > >>> Is it OK that I change this class to listen to the dataProvider (aka > >>> ArrayList) in the model? I don't see that anything is depending on > >>> something that is not happening. > >>> > >>> Thanks, > >>> Peter > >>> > >> > >> > >> > >> -- > >> > >> Piotr Zarzycki > >> > >> Patreon: > >>*https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fwww.pat > >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com > %7C7eae28a09fe34a > >>b5601208d53db793e5%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C636482781 > >>023742530&sdata=wB4yRF4dVG4GsHy2n0%2FL%2FdEnrtW2q%2FG58h2vfcG7HrQ%3D& > rese > >>rved=0 > >> > >><https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fwww.pat > >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com > %7C7eae28a09fe34a > >>b5601208d53db793e5%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C636482781 > >>023742530&sdata=wB4yRF4dVG4GsHy2n0%2FL%2FdEnrtW2q%2FG58h2vfcG7HrQ%3D& > rese > >>rved=0>* > >> > > > > > > > >-- > > > >Piotr Zarzycki > > > >Patreon: > >*https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fwww.patr > >eon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com% > 7C7eae28a09fe34ab5 > >601208d53db793e5%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C636482781023 > >742530&sdata=wB4yRF4dVG4GsHy2n0%2FL%2FdEnrtW2q%2FG58h2vfcG7HrQ%3D& > reserved > >=0 > ><https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fwww.patr > >eon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com% > 7C7eae28a09fe34ab5 > >601208d53db793e5%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0%7C636482781023 > >742530&sdata=wB4yRF4dVG4GsHy2n0%2FL%2FdEnrtW2q%2FG58h2vfcG7HrQ%3D& > reserved > >=0>* > > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
