Hey Alex, Thanks for your prompt reply,
Spark DG always use Virtual Layouts... :( I'm thinking of writing a piece of code to calculate total height after all the itemrenderers have rendered. Any idea at what stage of the DataGrid lifecycle would be best to implement this code. I need it on column resize and set dataprovider. UpdateDisplayList would be my first bet. On Mon, Jul 6, 2015 at 7:59 AM, Alex Harui <[email protected]> wrote: > Do you have a lot of rows? If not, have you set useVirtualLayout=false? > > On 7/5/15, 10:15 AM, "Ronny Shibley" <[email protected]> wrote: > > >Dear Flex Users, > > > >I'm trying to have a grid height according to its content. It works great > >with requestedRowCount=-1 variableRowHeight=false. Whenever i set > >variableRowHeight=true if i resize the columns, the grid height does not > >adjust. > > > >Anyone worked on this before ? Any straightforward solutions ? > > > >Thanks for your kind support. > > > >-- > > > >Kind Regards, > > > > > >Ronny Shibley, Eng > > > > > > > >Software Architect | Codefish | www.codefish.com > > > >t +961 5 450824 | m +961 70 250650 > > -- Kind Regards, Ronny Shibley, Eng Software Architect | Codefish | www.codefish.com t +961 5 450824 | m +961 70 250650
