Is it possible to hide the spinner(up/down) button in numericupdown control for both editor and in datagridview? If possible how to do it?
You can achieve this behavior in several different ways.
Add this line of code to hide the up button:
Note: You will need to perform this everytime the control refreshes.
Add the attached JS file to your solution.
Add “spinner-nobuttons” to the AppearanceKey property of your NumericUpDown control.
I hope these help!
Let me know if you have any more questions!
I want to use this this.numericUpDown1.Eval(“this.getChildControl(‘upbutton’).hide()”); to hide the up/down button for the numeric spinner control, but how to apply it to a column in DataGridview.
Please login first to submit.