Hi
I'm creating a feature layer dynamically from a query result from the web service in WAB 2.6
I'm trying to set the label in the output feature layer using the following snippet.
and i'm getting the following result.
I need to consolidate the number values present in the label to some currency representation instead of plain numbers.
kindly help me to resolve this.
Thanks & Regards
Siva
Solved! Go to Solution.
Siva,
This should work:
var json = {
"labelExpressionInfo": {"value": "${" + this.secValueName + "}"},
"fieldInfos": [{fieldName: this.secValueName, format: { "digitSeparator": true}}]
};
Siva,
This should work:
var json = {
"labelExpressionInfo": {"value": "${" + this.secValueName + "}"},
"fieldInfos": [{fieldName: this.secValueName, format: { "digitSeparator": true}}]
};