dataview - html template

Greeting. I’m using dataview witd data from collection and template with other .html file,
on my html file is something like this

  1. #remark# - #market_code#

  2. #area#

  3. #sale_price#

and now I’m stuck at how to show #sale_price# as currency with comma
please help. Thanks

Hi @savirusing ,
As a solution, you can use scheme, for example:

 scheme:{
        $init:function(obj){
            if (obj.sale_price)
                obj.sale_price= webix.i18n.numberFormat(obj.sale_price);
        }}

Please check the next snippet:
https://snippet.webix.com/7louctp6