开发者

set min and max value on editable column in xtraGridControl

开发者 https://www.devze.com 2023-02-08 02:05 出处:网络
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 :

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

精彩评论

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