Hi Piotr, I was having an issue with the appearance of Scrollbars (in FlashPlayer, not HTML) in DataGrid. I finally tracked it down to the HorizontalFlexLayout that is used for the Container holding the columns. When I switch it to HorizontalLayout the scrollbars appear. It looks like HorizontalFlexLayout (on the SWF side) is recalculating the vertical height and that's making the ScrollingViewport not show the scrollbars.
I'm going to make HorizontalLayout the default for DataGrid and then look into why HorizontalFlexLayout should be caring about its height if it hasn't been given an explicit height. If you need to use HorizontalFlexLayout for that Container you can just swap it in your app's CSS. ‹peter On 1/6/18, 8:52 AM, "piotrz" <[email protected]> wrote: >Hi Peter, > >Just wanted to let you know that I have started use more extensively >DataGrid and I have found that using FlexLayout gives a way better results >for DataGrid than VerticalFlexLayout/HorizotnalFlexLayout beads. > >Ma last commit fixes issue with synchronizing width of column with width >of >header buttons in DataGrid. > >However there is one problem with that - Scrollbar. Take a look into the >DataGridExample where scrollbar appear. Last column is a bit shifted. >Without scrollbar width is perfectly synced. > ><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro >yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fscroll_bar_problem.png& >data=02%7C01%7Cpent%40adobe.com%7C8c21b8b4e77145f0ef1f08d5550cc1c8%7Cfa7b1 >b5a7b34438794aed2c178decee1%7C0%7C0%7C636508435642510130&sdata=lqFyo5AO7td >RcHECAn1KbiDZJOFiMi9bpfNLnFvDYgQ%3D&reserved=0> > >If you have an idea how to fix that problem it would be great if you could >do it during your work on DataGrid. > >Maybe we shouldn't actually fix that ? > >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%7C8 >c21b8b4e77145f0ef1f08d5550cc1c8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0 >%7C636508435642510130&sdata=%2Fd%2FchSnNgv9qO7qhIF%2B5e7uN0U1nCJpZMjRGBwEQ >cqs%3D&reserved=0
