on 02-25-2008 6:19 AM
Hello Gurus,
This is my requirement.
I have one table.In this table i have field amount. In this field if the value is 0.00. I want to display as blank instead of 0.00.
Can anybody help me out in this requirement.
This is very urgent.I will reward you with points.
Thanks,
hi
Make the Data type of Amount Column as String in your data source and type cast all the values to this string in wdInit().
If you don't want to change your data type then try using
wdContext.currentContextElement.get<value>().valueof(string s);
you can pass null value as string parameter.
Regards,
Mandeep Virk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
you can write this code in wdInit() of your iview to initialize the values at runtime.
you change data type of your value attribute to string and in initialization just pass null parameters to required context element as you are passing to get 0.00 value.
In string when you pass null it will display blank instead integer shows null value as 0.00
Mandeep Virk
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.