How can I get a ListGrid expand to its natural height?
I have try
this.setAutoHeight();
this.setOverflow(Overflow.VISIBLE);
As well tried to add listener for when data is received to then dynamically getHeight() of list but can't find the right method to return total height.
Any ideas? ...basically this ListGrid is to appear inside an getExpansionComponent of another ListGrid, so I need grid to expand to it's natural dynamic height once data is received.
Please help. Thanks
I have try
this.setAutoHeight();
this.setOverflow(Overflow.VISIBLE);
As well tried to add listener for when data is received to then dynamically getHeight() of list but can't find the right method to return total height.
Any ideas? ...basically this ListGrid is to appear inside an getExpansionComponent of another ListGrid, so I need grid to expand to it's natural dynamic height once data is received.
Please help. Thanks
Comment