Welcome, Guest
  • Author Topic: DataGrid problem  (Read 1487 times)

    Aburahman

    • Server what's that
    • *
    • Posts: 9
      • MSN Messenger - phplerim@hotmail.com
      • AOL Instant Messenger - phplerim
      • View Profile
      • Email
    DataGrid problem
    « on: 03/22/06, 07:41 »
    hi anyone , I have flash movie (Remoting) with DataGrid Component , but I down know how to get Select value in my DataGird(use mouse Click), anyone can help me?
    php ve flashlerım.....

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: DataGrid problem
    « Reply #1 on: 03/22/06, 07:52 »
    From Flash Help:

    Quote
    var myListener = new Object();
    myListener.cellPress = function(event) {
        var cell = "(" + event.columnIndex + ", " + event.itemIndex + ")";
        trace("The cell at " + cell + " has been clicked");
    };
    grid.addEventListener("cellPress", myListener);

    Jorge

    Aburahman

    • Server what's that
    • *
    • Posts: 9
      • MSN Messenger - phplerim@hotmail.com
      • AOL Instant Messenger - phplerim
      • View Profile
      • Email
    Re: DataGrid problem
    « Reply #2 on: 03/22/06, 07:57 »
    Thank you Jorge  ;D
    php ve flashlerım.....