Property View and text align right

Hi team,

Is it posible to text align the property value to the right please ?

For example, float value as amouts and let to the left the text :

https://snippet.webix.com/n44azfmj

is it possible to format value like money ? the template function appear to font work

like datatable

                template: function (obj) {

                  if (obj.price) {
                    return (obj.price) + " €"
                  }
                  else {
                    return ""
                  }
                },

Regards,
Xavier

Hello, @XavierDP!

Is it posible to text align the property value to the right please ?

Yes, you can do it with the following CSS:

.mycustom_property .webix_property_value {
  text-align: right;
  padding-right: 15px;
}

is it possible to format value like money

For such purpose you need to use format property and create your custom format function:

function customFormat (value) {
         if (value) {
         return (value) + " €"
     }
         else {
         return ""
     }
}

And then:

{
          label: "Amount IN",
          type: "text",
          id: "in_amount",
          format: customFormat
        },

Please, check the result: Code Snippet

thank you very much @NastassiaM