Sorry, you are correct. I believe you need to manipulate the columns array. This array holds an AdvancedDataGridColumn reference for each column. Set this to a new array containing the new columns.
--- In [email protected], Nick Middleweek <n...@...> wrote: > > Hi, > > There doesn't seem to be a removeAllChildren() method of the Advanced Data > Grid. > > Also, when I test test the numChildren property it only gives me 4 but I've > got a renderer (child) for each of the 9 columns over 20 rows = 180... > > I've just found a rendererArray which is an Array of Arrays for the > renderers for each row/Column... I'm hoping I may be able to delete the > 'children' this way? have you ever used this property? > > or perhaps there's another way to delete the 'children' of the Adv Data > Grid? > > > Thanks, > Nick > > > > > 2009/11/6 valdhor <valdhorli...@...> > > > > > > > I don't think you can do that. Item renderers are created automatically. > > > > If it were me, I would probably removeAllChildren from the datagrid and add > > each column again. This should create new renderers as required. > > > > > > >

