Hi, Please go ahead and do that. We should have a DataGrid view bead that lets you mix percentage and non-percentage column widths, but that can weight.
‹peter On 1/11/18, 12:52 PM, "Piotr Zarzycki" <[email protected]> wrote: >Peter, > >I did analysis of DataGridPercentageView and the only difference between >DataGridView is one line of code. I would go and extend DataGridView. What >do you think ? This bead is really useful to me and it's working, but it >need to be cleaned up. > >If I extend it I will simply fix issue above. > >Thanks, Piotr > > >2018-01-11 18:04 GMT+01:00 Piotr Zarzycki <[email protected]>: > >> Peter, >> >> I have found what's the problem is!! I'm using in my DataGrid bead >>DataGridPercentageView. >> This bead messing up with styles, basically overwrite them. Not sure >> actually what happened yet inside. If I remove it css class which >>provides >> your bead to the DataGrid is starting to be assign correctly. >> >> Piotr >> >> >> 2018-01-11 15:08 GMT+01:00 Piotr Zarzycki <[email protected]>: >> >>> 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 <[email protected]>: >>> >>>> 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" <[email protected]> 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%7C7e49d359a36d4680d7e008d5587e6389 >>>> %7Cfa7b1b5a7b34 >>>> >438794aed2c178decee1%7C0%7C0%7C636512222212923786&sdata=3du >>>> pNZxf%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_datag >>>> rid_Example.png >>>> >&data=02%7C01%7Cpent%40adobe.com%7C7e49d359a36d4680d7e008d5 >>>> 587e6389%7Cfa7b >>>> >1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512222212923786&s >>>> data=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%7C7e49d359a3 >>>> 6d4680d7e008d55 >>>> >87e6389%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512 >>>> 222212923786&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%7C7e49d359a3 >>>> 6d4680d7e008d55 >>>> >87e6389%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512 >>>> 222212923786&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%7Cfa7b1b5a7b34438794aed2c17 >>>> 8decee1%7C0%7C0 >>>> >%7C636512222212923786&sdata=lg3ZlzcBIWyrpg%2FXGIkzOhv0xUpfV >>>> sqbKM5dV2pMmL0% >>>> >3D&reserved=0 >>>> >>>> >>> >>> >>> -- >>> >>> Piotr Zarzycki >>> >>> Patreon: >>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C340ce9b2e769 >>>4c487bb608d5591c2289%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512 >>>899728860051&sdata=82U3cPUuDQKOc6dvMur5WhI8%2FreKYh1PYk5isScjhaM%3D&rese >>>rved=0 >>> >>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa >>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C340ce9b2e769 >>>4c487bb608d5591c2289%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512 >>>899728860051&sdata=82U3cPUuDQKOc6dvMur5WhI8%2FreKYh1PYk5isScjhaM%3D&rese >>>rved=0>* >>> >> >> >> >> -- >> >> Piotr Zarzycki >> >> Patreon: >>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C340ce9b2e7694c >>487bb608d5591c2289%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512899 >>728860051&sdata=82U3cPUuDQKOc6dvMur5WhI8%2FreKYh1PYk5isScjhaM%3D&reserved >>=0 >> >><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pat >>reon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C340ce9b2e7694c >>487bb608d5591c2289%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512899 >>728860051&sdata=82U3cPUuDQKOc6dvMur5WhI8%2FreKYh1PYk5isScjhaM%3D&reserved >>=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%7C340ce9b2e7694c48 >7bb608d5591c2289%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512899728 >860051&sdata=82U3cPUuDQKOc6dvMur5WhI8%2FreKYh1PYk5isScjhaM%3D&reserved=0 ><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr >eon.com%2Fpiotrzarzycki&data=02%7C01%7Cpent%40adobe.com%7C340ce9b2e7694c48 >7bb608d5591c2289%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636512899728 >860051&sdata=82U3cPUuDQKOc6dvMur5WhI8%2FreKYh1PYk5isScjhaM%3D&reserved=0>*
