0 Replies Latest reply on Mar 16, 2009 6:15 AM by russ_back

    Scripting the AdvancedDataGrid

      I have an MXML AdvancedDataGrid that works fine with a GroupingCollection and item renderer. However when I try to achieve the exact same thing using ActionScript, the GroupingCollection and item renderers appear to have no effect. The code below shows two examples: the grid on the left is MXML, the one on the right ActionScript. Both use dummy data using a value object to keep things clear.

      I suspect I'm missing something basic in my script for this to fail but am at a loss after trying to figure this out. Anybody got any suggestions to help me along the way?? Code is shown below, Complete package is available at http://www.clearpixel.co.uk/advanceddatagrid/ScriptedGrid.html