how to get currency sign to display in a view panel xpages -


i have column in xpage want display currency symbol value. in underlying notes view displaying. have tried both view panel , dynamic view neither display $ symbol. displays number. if integer number ($100.00) displays 100. want display trailing zeros after decimal place along currency symbol

in view control can set view column's "display type" "number" , "display format" "currency". enable set currency symbol of choice , format accordingly. view column's code this:

<xp:viewcolumn columnname="price" id="viewcolumn4">     <xp:this.converter>         <xp:convertnumber currencysymbol="$" minfractiondigits="2" type="currency"></xp:convertnumber>     </xp:this.converter>     <xp:viewcolumnheader value="price" id="viewcolumnheader4"></xp:viewcolumnheader> </xp:viewcolumn> 

in above example price stored number.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -