12 Replies Latest reply on Apr 30, 2010 1:59 AM by dhifallah

    how could I enter a number with this forme (#.#.#) in my datagrid cells?

    dhifallah Level 1

      I'm trying to enter numbers having this forme 3.2.5 but there is an error and my code is not accepted:, i don't know how to correct it, please have you any solution?


      if (event.dataField == "tag_version" || (event.dataField =="version_cible"))

      { var txtIn:TextInput = TextInput(event.currentTarget.itemEditorInstance);


      var curValue:Number = Number(txtIn.text);


      if(!isNaN(curValue) || TextFormat("#.#.#") )




      "color", 0x000000);