Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2334
Grid data entry
posted

I am attempting to add functionality so my users can enter something like 120m and the grid will interpret this as 120,000,000.  This is only a data entry feature so the value that should be passed to the underlying source is 120000000.  The data type of the column is double.  I did this in the UltraNumericEditor by handling the KeyPress event and taking appropriate action.  This worked really well.  I then set the EditorControl of my column to the numeric editor but it looks like this does not work because the grid (or the windowed control?) is consuming the keypress event.  I also thought about using a combination of a mask and a datafilter but this is not ideal because I want the same functionality in the grid and in my numeric editors. 

 Any ideas?