A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: $15 - AS3 Click row in datagrid and change background color...

  1. #1
    Senior Member
    Join Date
    Jul 2004
    Posts
    264

    Thumbs up AS3 Click row in datagrid and change background color...

    Hi guys,

    Got to be in AS3

    I need a datagrid, already on stage...

    Actionscript Code:
    var mmm:Array = [
    {label: "hi", data:'1'},
    {label: "good", data:'2},
    {label: "yes", data:'
    3'},
    {label: "boo", data:'
    4'},
    ];
    myGrid.dataProvider = new DataProvider(mmm);

    Then i would like to be able to do something like this (or any way possible):

    setGridColor("row no. e.g. '2'"), "#33FF00");

    And change the full row to a certain color.

    Anyone?


    Let me know the price - sent via paypal. Cheers.

    Many thanks!
    Last edited by itsallgood; 02-08-2012 at 05:51 AM. Reason: Changed price...

  2. #2
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,320
    This may save you some money
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

  3. #3
    Senior Member
    Join Date
    Jul 2004
    Posts
    264
    Thanks mate -- i've kind of made something that works -- although i'm not sure it's the right way to do it.

    Also, i've not really got the ability to set single rows the way i wanted..

    setGridRowColor(1, "#33FF00");
    setGridRowColor(2, "#33FF00");

    And the way i have made to stop a row being highlighted -- i'm sure that's wrong

    ----

    If anyone does still offer to do me a good example of being able to set a row color - and an ability to change the color back to default -- i'll still pay for it.

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center