-
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...
-
AKA [ Paul Bainbridge]
This may save you some money
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|