Piotr,  how many rows of data are there?

IMO, there are multiple scenarios of increasing complexity.  That's one of the 
reasons we have beads in Royale.  The vast majority of our work so far has been 
to handle the simpler scenarios.  The ones I can think of are:

1) few rows, fixed height, pixel scrolling
2) lots of rows, fixed height, pixel scrolling
3) lots of rows, fixed height, row scrolling
4) few rows, fixed height, row scrolling
5) few rows, variable height, pixel scrolling
6) few rows, variable height, row scrolling
7) lots of rows, variable height, row scrolling
8) lots of rows, variable height, pixel scrolling

We've done 1 & 2 as beads.  5 should be not-too-hard although I certainly be 
wrong about that.  If you can live with 5, then see if you and/or Carlos and 
other volunteers can come up with the beads for it.  There is a big jump in 
complexity after 5, especially 7 & 8.

HTH,
-Alex

On 4/30/20, 6:54 AM, "Piotr Zarzycki" <[email protected]> wrote:

    Just for the reference when you setup variableRowHeight = true in flex
    DataGrid looks like that -  
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FD7K9dLs&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=iC6EY%2F1G%2BnM62%2FMF6lfgyBJFW2AF4XNeB4COIlY8iI4%3D&amp;reserved=0
    
    czw., 30 kwi 2020 o 15:51 Piotr Zarzycki <[email protected]>
    napisał(a):
    
    > Hi Carlos,
    >
    > I also do not see any other option than generate each height of the row
    > based on the largest height in each row. It is definitely not an option to
    > force people use rowHeight - That model definitely fail in our application
    > where there are different portion of text in rows. One row will have 30
    > height the second one 45 because there more text to display and so on.
    >
    > Right now Jewel DataGrid doesn't have variableRowHeight. To me it should
    > in some form appear and if:
    >
    >  variableRowHeight = true - Row height is being calculated dynamically.
    > Each row can have different height. Setup rowHeight when that option is
    > true won't have affect.
    >   variableRowHeight = false - default state. Setup rowHeight has some
    > effect. Each row has some predefined default height ex. 35.
    >
    > Thoughts ?
    >
    > Thanks,
    > Piotr
    >
    > pt., 10 kwi 2020 o 17:35 Carlos Rovira <[email protected]>
    > napisał(a):
    >
    >>  Hi Piotr,
    >>
    >> I was taking a look at the issue. Some initial thoughts:
    >>
    >> List has "variableRowHeight: true" (defined in Theme) and rowHeight =
    >> NaN; by
    >> default
    >> (as we can see in first List example in TDJ. We can have different 
heights
    >> for each item renderer, while second example has rowHeight defined and
    >> that
    >> makes all items has the same height (Side note: Here there's a bug since
    >> defining rowHeight should remove "variableRowHeight", since both should 
be
    >> mutually exclusive).
    >>
    >> In DataGrid, we have lots of Lists becoming columns. So to make DG work 
as
    >> List I think we need to sync all rows to match the bigger height per
    >> renderer in all lists.
    >>
    >> I think there's no other way to do this.
    >>
    >> If not, other options is to avoid DG have "variableRowHeight" and force
    >> people to use "rowHeight".
    >>
    >> I don't remember what Flex allow to do here, but maybe is something to
    >> discuss a bit to see what could be the best for Royale Jewel DataGrid.
    >>
    >> Thanks
    >>
    >> Carlos
    >>
    >>
    >>
    >>
    >> El vie., 10 abr. 2020 a las 15:45, Piotr Zarzycki (<
    >> [email protected]>) escribió:
    >>
    >> > Hi Carlos,
    >> >
    >> > We have switched in our application to DataGrid. There are 
unfortunately
    >> > some custom adjustment to have it properly working, but we can move
    >> forward
    >> > with that.
    >> > However I have found something which I believe should be fixed sooner
    >> than
    >> > later.
    >> >
    >> > When rowHeight is not set and there are different amount of data in 
data
    >> > grid cells rows are being cut and data are not displaying fully. I have
    >> > pushed to TourDeJewel example which shows the issue.
    >> >
    >> > Thanks,
    >> > --
    >> >
    >> > Piotr Zarzycki
    >> >
    >> > Patreon: 
*https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=3NH25A8Qa3LvEDqBJKT1YDfzQFnQx6aw047Xu%2BILpTs%3D&amp;reserved=0
    >> > 
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=3NH25A8Qa3LvEDqBJKT1YDfzQFnQx6aw047Xu%2BILpTs%3D&amp;reserved=0>*
    >> >
    >>
    >>
    >> --
    >> Carlos Rovira
    >> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=ZDStcHzonUq49tmhaEZlAM%2FTgrQlHhpq3PREGVCP%2Bg8%3D&amp;reserved=0
    >>
    >
    >
    > --
    >
    > Piotr Zarzycki
    >
    > Patreon: 
*https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=3NH25A8Qa3LvEDqBJKT1YDfzQFnQx6aw047Xu%2BILpTs%3D&amp;reserved=0
    > 
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=3NH25A8Qa3LvEDqBJKT1YDfzQFnQx6aw047Xu%2BILpTs%3D&amp;reserved=0>*
    >
    
    
    -- 
    
    Piotr Zarzycki
    
    Patreon: 
*https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=3NH25A8Qa3LvEDqBJKT1YDfzQFnQx6aw047Xu%2BILpTs%3D&amp;reserved=0
    
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&amp;data=02%7C01%7Caharui%40adobe.com%7C6420c8a96f9a4569379508d7ed0e0df7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637238516930212969&amp;sdata=3NH25A8Qa3LvEDqBJKT1YDfzQFnQx6aw047Xu%2BILpTs%3D&amp;reserved=0>*
    

Reply via email to