I am trying to create a gantt chart, and would want groupedColumns
with month spanning the dates of the month.  

I tried to concat and push a AdvancedDataGridColumnGroup onto
groupedColumns, it only worked with push, it adds to the array, but
doens't update the display of the ADG.

adg.groupedColumns.push( new
AdvancedDataGridColumnGroup(monthNames[date.getMonth()]));

(monthNames is an array of strings of month names)

I tried running adg.invalidateDisplay() and reset the dataprovider
groupingCollection source and it still didn't update.

Is there a way to programatically create these columns or do you have
to do it with the mxml?

Thanks.

Reply via email to