royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <piotrzarzyck...@gmail.com>
Subject Re: [Royale] ICollectionView
Date Thu, 11 Jan 2018 17:04:15 GMT
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 <piotrzarzycki21@gmail.com>:

> 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 <pent@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" <piotrz@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%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://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

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