PDA

View Full Version : AdvancedDataGrid dataProvider property


angie
03-07-2008, 01:06 PM
Hi,

I'm trying to create an AdvancedDataGrid in Actionscript but I don't seem to have access to the dataProvider property. I can set this in MXML but not in ActionScript. Does anyone know why this is? I'm using the trial version of Flex 3 at the moment, could it be due to that?

Also, is there any way to add an itemEditor to a column in ActionScript, but specify properties on the component? Eg, to specify the minimum and maximum on a NumericStepper? This doesn't seem possible as the itemEditor property is of type ClassFactory.

Thanks,
Angie

angie
03-18-2008, 06:34 PM
This was a naming conflict. I had called my test MXML file AdvancedDataGrid.mxml, which I think confused matters.

dr_zeus
03-18-2008, 06:47 PM
I recommend posting Flex questions in the Flex forum. Even if you're using ActionScript to create your controls, that's a better place for Flex questions. This isn't a warning or anything, just a suggestion.

angie
03-19-2008, 10:32 AM
I realised this after I created the thread but couldn't see a way to move it. Thanks.