开发者

set min and max value on editable column in xtraGridControl

Is it possible to set minimum and maximum possible value in editable column in xtraGridControl ? I want it to display 2 digits after comma in display mode :

12,24 $

and display 4 digits after comma while editing 开发者_开发百科withous dollar :)

12,2400

and correct are only values > 0.

thanks for any help, bye


You need to set the column's editor to a SpinEdit.

You can then set the SpinEdit's MinValue and MaxValue properties, and its DisplayFormat and EditFormat.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜