How can I Show MunericUpDown control as one of the editable columns in UltraGrid?
Please help on this.
Thanks,
It works for me. Thank you so much.
johnny_lan said:Is there a property to hide the underline in the editor?
You can set the PromptChar property on the column to some other character, like a space. You could try an empty string, but I'm not sure if that will work.
column.PromptChar = " ";
Yes, you are correct. It works after I change the type to float. Is there a property to hide the underline in the editor?
Hi,
I took a look at your sample. It's not working because the DataType of your column is string. So there's no way the editor can do a numeric operation like adding 1 to the value, because it's not numeric.
Why are you storing numeric values as strings?
If you can, I would change it to a numeric type like Decimal or Double.
If you cannot, then you would have to use an EditorSpinButton and handle the Spin events yourself and modify the value in code.
Attached is the code example. Please have a look.
thanks,