0 Replies Latest reply on Oct 15, 2010 7:14 AM by EliezerReis

    DataGrid as FormItem

    EliezerReis Level 1

      I have the following situation.

       

          <mx:NumberValidator minValue="1" source="{blocos.dataProvider}" property="length" triggerEvent="dataChange"/>

       

       

          <mx:FormItem label="Blocos:" required="true">

               <mx:DataGrid id="blocos" dataProvider="{programa.blocos}" editable="true">

                          .....

              </mx:DataGrid>

         </mx:FormItem>

       

       

      This code works. If the user doesn't insert any item on my datagrid a validatorError occurs, but doesn't appear a red border with a tooltip information like happens with textinput.

       

      Do you have any ideia of how can I do it?

       

      Thanks