Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
2364 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
gridRowLayout column displaying number incorrectly
garym
over 7 years ago
Hi,
We are using a grid and one of the columns is Quantity. Unbeknownst to me, it is possible that they could have a decimal value in this field. From the screenshot that I provided, the column to the right of Quantity is Unit Rate and the rule!APN_dollar has been applied to that column and it displays nicely. However, I want to do the same thing for Quantity but I don't want the $ sign. Is there an equivalent function that I can use to just show the decimal value?
a!textField(
label: "UoM " & ri!index,
value: ri!items[ri!index].unitOfMeasure_txt,
readonly: true
),
a!textField(
label: "Quantity " & ri!index,
value: ri!items[ri!index].quantity_int,
readonly:true,
align: "RIGHT"
),
a!textField(
label: "Unit Rate " & ri!index,
value: rule!APN_dollar(ri!items[ri!index].unitRate_dec,true),
readonly:true,
al...
OriginalPostID-236208
Discussion posts and replies are publicly visible
Parents
0
sanjays0006
over 7 years ago
Gary,
I think you should use the apply function.
But in the code you have attached, even for the rule!APN_dollar function, you should be using the apply function.
But you are not using it.
Are you able to display the grid that was displayed with the code you mentioned above?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sanjays0006
over 7 years ago
Gary,
I think you should use the apply function.
But in the code you have attached, even for the rule!APN_dollar function, you should be using the apply function.
But you are not using it.
Are you able to display the grid that was displayed with the code you mentioned above?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data