Hi Peter, Yest DataGridExample is working for me. The second grid is responding for add/remove item.
I'm going to add to the DataGridExample today/tomorrow Panel as I have and see whether style will be applied. My styles are in separate files style.css. DataGridExample has them inside MXML. Thanks, Piotr 2018-01-11 15:05 GMT+01:00 Peter Ent <p...@adobe.com.invalid>: > Does the DataGridExample even work for you? You should see two DataGrids, > the second being dynamic with the add and remove buttons inserting and > removing a row. Is that working? > > The images in your links look OK and match what I have. I think there is > still more to do with CSS and maybe that's what you are hitting. I'm > concerned though that the new CollectionView classes are not being put > into play in your code. > > Regards, > Peter > > On 1/10/18, 6:03 PM, "piotrz" <pio...@apache.org> wrote: > > >Hi Peter, > > > >I just started to use your classes on DataGrid and in my examples they are > >not working. Something is wrong with assigning CSS style to > >DataGridColumn. > > > >I have following structure [1] and CSS. This css is in separate file. In > >the > >main applications file I have simply: <fx:Style > >source="resources/styles.css"/> > > > >After compilation I see that class="userList" is being assigned to main > >Div > >of DataGrid. For the column divs I see only: class="first > >DataGridColumnList". In DataGridExample there is for the the column: > >class="DynamicGridColumn DataGridColumnList". > > > >My Grid After compilation: > ><https://na01.safelinks.protection.outlook.com/?url= > http%3A%2F%2Fapache-ro > >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fno_ > class_dg.png&data=02 > >%7C01%7Cpent%40adobe.com%7C7e49d359a36d4680d7e008d5587e > 6389%7Cfa7b1b5a7b34 > >438794aed2c178decee1%7C0%7C0%7C636512222212923786&sdata= > 3dupNZxf%2BhzXfjZM > >xRZLae71UTR78lWs2bZ73Uh%2FYW0%3D&reserved=0> > > > >Grid from DataGridExample: > ><https://na01.safelinks.protection.outlook.com/?url= > http%3A%2F%2Fapache-ro > >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fdg_ > datagrid_Example.png > >&data=02%7C01%7Cpent%40adobe.com%7C7e49d359a36d4680d7e008d5587e > 6389%7Cfa7b > >1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512222212923786& > sdata=27miZTux0h > >rSTDHd%2FMPjZzOWhTwaF5L33rVyyTb0S0s%3D&reserved=0> > > > >I haven't try more things, but maybe Panel messing up with something ? I > >will be trying some ideas and scenarios tomorrow. > > > >[1] > >https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fpaste.apa > >che.org%2FOMfW&data=02%7C01%7Cpent%40adobe.com% > 7C7e49d359a36d4680d7e008d55 > >87e6389%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0% > 7C636512222212923786&sd > >ata=zqEGymsWdGYkDJ%2BxbHSVPqbhsgMfTAtsqNtltjMajUE%3D&reserved=0 > >[2] > >https://na01.safelinks.protection.outlook.com/?url= > https%3A%2F%2Fpaste.apa > >che.org%2FIte8&data=02%7C01%7Cpent%40adobe.com% > 7C7e49d359a36d4680d7e008d55 > >87e6389%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0% > 7C636512222212923786&sd > >ata=NHXr6cFGvG8Wf8hE43vvTVrc0M45f7%2FGgWz9c5F0kNQ%3D&reserved=0 > > > >Thanks, Piotr > > > > > > > >-- > >Sent from: > >https://na01.safelinks.protection.outlook.com/?url= > http%3A%2F%2Fapache-roy > >ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Cpent%40adobe.com > %7C7 > >e49d359a36d4680d7e008d5587e6389%7Cfa7b1b5a7b34438794aed2c178de > cee1%7C0%7C0 > >%7C636512222212923786&sdata=lg3ZlzcBIWyrpg%2FXGIkzOhv0xUpfVsqbKM5dV2pMmL0 > % > >3D&reserved=0 > > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*