DevExtreme React - Control the Behavior

If you need to add spin buttons to the NumberBox, set the showSpinButtons to true.

JavaScript
  • $(function() {
  • $("#numberBoxContainer").dxNumberBox({
  • value: 20,
  • showSpinButtons: true
  • });
  • });

To specify the step by which the value is changed, use the step option.

JavaScript
  • $(function() {
  • $("#numberBoxContainer").dxNumberBox({
  • value: 20,
  • showSpinButtons: true,
  • step: 10
  • });
  • });
See Also