Author Topic: Add numeric spinner in column  (Read 1645 times)

kiwon34

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Add numeric spinner in column
« on: July 22, 2019, 12:45:52 pm »
Hello,

I want to know how to add a numeric spinner in certain columns.
I see edit, datepicker, selector, but cannot find spinner demo.
Is there a way?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6313
    • View Profile
Re: Add numeric spinner in column
« Reply #1 on: July 22, 2019, 09:35:24 pm »
It can be done by using html5 number editor.

Code: [Select]
                editor: {
                    //make it html5 number editor.
                    attr: "type='number'"
                }
           

Please check OrderID column in https://paramquery.com/pro/demos/editing_custom