Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这样的要求。我应该在 kendoNumericTextBox 中显示像 9999.000 这样的格式,并在网格中显示如何做到这一点..
注意:小数点后只能接受 3 个零(3 个小数点)
您可以在列规范中指定格式:
{ field: "fieldName",type:"number", format: "{0:n3}" }
我这样解决了我的问题:
.kendoNumericTextBox({ placeholder: "select value", format: "#.000" });