does anyone know how to change the decimal places displayed for a custom calculated field? Right now it is displaying 12 decimal places, and I only want it to display 2.
Also, I am trying to bold the font of a custom field on a screen. Any idea how to do that?
答案 0 :(得分:2)
可以在自定义字段的PXDBDecimal / PXDecimal属性中定义小数位数
例如:
[PXDBDecimal(2)] // 2 decimal places
[PXDefault(TypeCode.Decimal, "0.00")]
[PXUIField(DisplayName = "Quantity", IsReadOnly = true)]
public Decimal? PQty { get; set; }
对于Bold字体,我不知道任何可用的属性。也许你应该尝试自定义ASPX,或者在自定义项目中有许多高级属性,如CSSClass>屏幕>控制>属性。