inline editing increment value

inline editing increment value

nicericonicerico Posts: 3Questions: 1Answers: 0

Hello,
I would need to use inline editing with numeric values ​​to increment or decrement
for example having in the cell:
- 3 +

is it possible ?
Thank you

Answers

  • allanallan Posts: 63,205Questions: 1Answers: 10,415 Site admin

    You can add:

    attr: {
      type: 'number',
    }
    

    into your Javascript configuration for that field and it will set the input attribute for the input element. The browser will then add the increment / decrement buttons automatically.

    Allan

This discussion has been closed.