Remove all columns from the ADG and don't assign a dataprovder.  Is that
what you want it to look like?

If so, define the columns somewhere else and only assign them if there is
data.


On 1/12/13 1:00 PM, "Oleg Konovalov" <oleg...@gmail.com> wrote:

> Hi,
> 
> I am trying to create dynamic DataGrid,
> which shows columns only if it contains data
> return by query (it has 10+ columns, so not easy to calculate sizes)..
> I read a lot of posts on the net, tried  minWidth, ResizeMode, etc.
> 
> Nothing really useful which works.
> In most cases  it created very narrow columns except the last one - super
> wide.
> 
> Please help!
> 
> (using Flex4 AdvancedDataGrid)
> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to