Small question about the "autoFit" feature for list grids:
I want to set the height dynamically growing with the number of records but if the available vertical space is not sufficient do not expand further but start showing a scrollbar.
I tried
but without success. It should be simple but I'm missing something.
Thanks!
I want to set the height dynamically growing with the number of records but if the available vertical space is not sufficient do not expand further but start showing a scrollbar.
I tried
Code:
setAutoFitData(Autofit.VERTICAL); setOverflow(Overflow.AUTO); setBodyOverflow(Overflow.AUTO);
Thanks!
Comment