0 Replies Latest reply on Aug 13, 2008 11:31 PM by sudheer.com

    datagrid focus for cell

    sudheer.com
      Hi,

      how to set focus for perticuler cell or row in datagide using flex 3 .Flex 2 Beta 1:

      var __focusedCell:Object = new Object();
      __focusedCell.itemIndex = 1;
      __focusedCell.columnIndex = 2;
      dg.setFocusedCell(__focusedCell,true);

      Flex 2 Beta 2:

      var __focusedCell:Object = new Object();
      __focusedCell.rowIndex = 1;
      __focusedCell.columnIndex = 2;
      dg.setEditedItemPosition(__focusedCell);

      but this functions (dg.setFocusedCell,dg.setEditedItemPosition) are not working in flex 3.0. please let me know if any body known this one