When I try doing this, I get errors that I can't seem to resolve. Here's my
code:

<mx:DataGrid>
    <mx:DataGridColumn>
        <mx:Component>
            <mx:NumericStepper minimum="0" maximum="50"/>
        </mx:Component>
    </mx:DataGridColumn>
</mx:DataGrid>

This is the error that I'm getting. I don't know how to fix this:

ReferenceError: Error #1069: Property text not found on
main_inlineComponent3 and there is no default value.
    at
mx.controls::DataGrid/itemEditorItemEditEndHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:4821]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
mx.core::UIComponent/dispatchEvent()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9156]
    at
mx.controls::DataGrid/endEdit()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:4036]
    at
mx.controls::DataGrid/mouseDownHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:4302]

-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.

Reply via email to