1 person found this helpful
check error property of your formatter. If output is empty, may be it's a error of formatter.
Thanks for REply.
formatter.error is showing Null while tracing. So that means formatter is getting updated. I had seen through debug also. formatter is being assigned to ADG.columns.
So now Just the thing is that cell's data is not visible in ADG.
Can you interpret from last info as to how thats happening.
If you need any other inputs i can give here.
After we Update display properties of Dg or ADG i dont have much info about what these functions do
validateNow() , validateProperties , validateDisplayList();
Do you think i have to use any one of these .
Or i may have some custom logical problem in code .
Thanks & Regards,
Have you tried to set formatter in mxml? (just for test)
Do you use default formatter or your own?
When I UpLoad a Datasource in My ADG. I Actually Ask User to select his decimal and thousand separator and then when i create columns programmaticaly [action script] i assign formatter with that format. Its Working Fine . So actually mxml not involved from start till end.
But After data being uploaded I have a Button where He/She can Switch to other format both decimal and thousandsseparator.
Now here formatter is switched and is not displaying data in ADG.
var nf:NumberFormatter = new NumberFormatter();
nf.decimalSeparatorFrom = ".";nf.decimalSeparatorTo = ",";nf.thousandsSeparatorTo = "."
and then code which i posted in first post.
Formatter is default just properties being changed and then applied.