Link to home
Start Free TrialLog in
Avatar of Jay Roy
Jay RoyFlag for United States of America

asked on

Advanced Datagrid : fade effect

hi guys

I am working with flex advanced datagrid
when an item is changed in any row of AdvancedDataGrid, i want a Fade effect on that row.

Is that possible to do that in action script?

This is how i am creating the columns

public class TradeGrid extends VBox{

private function createColumn(columnIndex:int,fieldObject:Object):AdvancedDataGridColumn{
var column:AdvancedDataGridColumn = new AdvancedDataGridColumn();
column.headerText = fieldObject.caption;                   
column.editable = true;
//here i want a fade effect ( like it should fade from Black to white)
return column;
   }
}

Is it possible to do that?
any help will be greatly appreciated

thanks
Avatar of dgofman
dgofman
Flag of United States of America image

fade? or change color?
Avatar of Jay Roy

ASKER

Well , Some kind of effect would be nice on that row which is changed by the user..
Fade or change in color would be fine.
Please can you decribe more what exactly do you want. Change on entire row or column?
Avatar of Jay Roy

ASKER

Say I have editable  datagrid with 2 columns 'id' and
'name'.  I have 5 rows something like
Id   Name
1.     Jay
2.      Peter
3.     Tracy
4.     John
5.      Erwin

Modify row:  textbox
Modify name: textbox
Submit button


Now user enters 4 in modify row textbox and
User enters jhonny in Modify name textbox and clicks
Submit button. So the name in fourth row of datagrid should change
From John to jhonny with some fade effect on that row.


When

Avatar of Jay Roy

ASKER

So basically when the value in a datagrid row changes
I want some fade effect on that row.
Maybe I need to use the 'change' event listener but not sure..

Thx
You can do text fading ONLY when fonts are EMBEDDED

But I will not recommend for such not important feature add couple KB into your file
Avatar of Jay Roy

ASKER

ok instead of fading the entire row is it possible to fade the text which has changed.
In above example when 'John' is  changed to 'Jhonny' i want the text fade effect on 'Jhonny'

Basically i want the user to see the text change...

thx.
ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial